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, item) => core.MapEntry(
                  key,
                  item as core.String,
                ),
              )
            : null,
      );