Enterprise.fromJson constructor

Enterprise.fromJson(
  1. Map json_
)

Implementation

Enterprise.fromJson(core.Map json_)
    : this(
        administrator: json_.containsKey('administrator')
            ? (json_['administrator'] as core.List)
                .map((value) => Administrator.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        googleAuthenticationSettings:
            json_.containsKey('googleAuthenticationSettings')
                ? GoogleAuthenticationSettings.fromJson(
                    json_['googleAuthenticationSettings']
                        as core.Map<core.String, core.dynamic>)
                : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        primaryDomain: json_.containsKey('primaryDomain')
            ? json_['primaryDomain'] as core.String
            : null,
      );