DelegateShareOptions.fromJSON constructor
DelegateShareOptions.fromJSON(
- Map<String, dynamic> data
)
Implementation
factory DelegateShareOptions.fromJSON(Map<String, dynamic> data) {
return DelegateShareOptions(
(data["shareSecretIds"] as List<dynamic>).map((x0) => (x0 as String) ).toSet(),
(data["shareEncryptionKeys"] as List<dynamic>).map((x0) => (x0 as HexString) ).toSet(),
(data["shareOwningEntityIds"] as List<dynamic>).map((x0) => (x0 as String) ).toSet(),
RequestedPermission.fromJSON(data["requestedPermissions"])
);
}