Subaccount.fromJson constructor
Subaccount.fromJson(
- Map json_
Implementation
Subaccount.fromJson(core.Map json_)
: this(
accountId: json_.containsKey('accountId')
? json_['accountId'] as core.String
: null,
availablePermissionIds: json_.containsKey('availablePermissionIds')
? (json_['availablePermissionIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
);