v1CreateOrganizationIntentV2.fromJson constructor
v1CreateOrganizationIntentV2.fromJson(
- Map<String, dynamic> json
)
Implementation
factory v1CreateOrganizationIntentV2.fromJson(Map<String, dynamic> json) {
final _organizationName = json['organizationName'] as String;
final _rootEmail = json['rootEmail'] as String;
final _rootAuthenticator = v1AuthenticatorParamsV2.fromJson(json['rootAuthenticator'] as Map<String, dynamic>);
final _rootUserId = json['rootUserId'] as String?;
return v1CreateOrganizationIntentV2(
organizationName: _organizationName,
rootEmail: _rootEmail,
rootAuthenticator: _rootAuthenticator,
rootUserId: _rootUserId,
);
}