v1CreateOrganizationIntent.fromJson constructor

v1CreateOrganizationIntent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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