mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-23 06:31:13 -04:00
xfer
This commit is contained in:
parent
b502bc20a7
commit
3c52931a74
7 changed files with 28 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue