GoogleCloudIdentitytoolkitAdminV2PhoneNumber.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2PhoneNumber.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitAdminV2PhoneNumber.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        testPhoneNumbers: json_.containsKey('testPhoneNumbers')
            ? (json_['testPhoneNumbers']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );