v1CreateSubOrganizationIntentV2.fromJson constructor
v1CreateSubOrganizationIntentV2.fromJson(
- Map<String, dynamic> json
)
Implementation
factory v1CreateSubOrganizationIntentV2.fromJson(Map<String, dynamic> json) {
final _subOrganizationName = json['subOrganizationName'] as String;
final _rootUsers = (json['rootUsers'] as List).map((e) => v1RootUserParams.fromJson(e as Map<String, dynamic>)).toList();
final _rootQuorumThreshold = json['rootQuorumThreshold'] as num;
return v1CreateSubOrganizationIntentV2(
subOrganizationName: _subOrganizationName,
rootUsers: _rootUsers,
rootQuorumThreshold: _rootQuorumThreshold,
);
}