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((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,
      );