This commit is contained in:
Christien Rioux 2023-07-26 10:06:54 -04:00
parent b502bc20a7
commit 3c52931a74
7 changed files with 28 additions and 13 deletions

View file

@ -25,10 +25,13 @@ class LocalAccounts extends _$LocalAccounts
@override
String tableKeyName() => "local_accounts";
@override
IList<LocalAccount> reviveJson(Object? obj) => obj != null
IList<LocalAccount> valueFromJson(Object? obj) => obj != null
? IList<LocalAccount>.fromJson(
obj, genericFromJson(LocalAccount.fromJson))
: IList<LocalAccount>();
@override
Object? valueToJson(IList<LocalAccount> val) =>
val.toJson((la) => la.toJson());
/// Get all local account information
@override