ConfigureContactSettingsRequest.fromJson constructor

ConfigureContactSettingsRequest.fromJson(
  1. Map _json
)

Implementation

ConfigureContactSettingsRequest.fromJson(core.Map _json)
    : this(
        contactNotices: _json.containsKey('contactNotices')
            ? (_json['contactNotices'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        contactSettings: _json.containsKey('contactSettings')
            ? ContactSettings.fromJson(_json['contactSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateMask: _json.containsKey('updateMask')
            ? _json['updateMask'] as core.String
            : null,
        validateOnly: _json.containsKey('validateOnly')
            ? _json['validateOnly'] as core.bool
            : null,
      );