GoogleCloudIdentitytoolkitAdminV2SendSms.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2SendSms.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitAdminV2SendSms.fromJson(core.Map _json)
    : this(
        smsTemplate: _json.containsKey('smsTemplate')
            ? GoogleCloudIdentitytoolkitAdminV2SmsTemplate.fromJson(
                _json['smsTemplate'] as core.Map<core.String, core.dynamic>)
            : null,
        useDeviceLocale: _json.containsKey('useDeviceLocale')
            ? _json['useDeviceLocale'] as core.bool
            : null,
      );