GenerateUploadKeysArgs.fromJson constructor
GenerateUploadKeysArgs.fromJson(
- Map json
Implementation
factory GenerateUploadKeysArgs.fromJson(Map<dynamic, dynamic> json) =>
GenerateUploadKeysArgs(
pubkey: json['pubkey'],
dbSessions: (json['dbSessions'] as Iterable)
.map((e) => DbInboundGroupSessionBundle.fromJson(e))
.toList(),
userId: json['userId'],
);