BatchUpdateContactsRequest.fromJson constructor

BatchUpdateContactsRequest.fromJson(
  1. Map json_
)

Implementation

BatchUpdateContactsRequest.fromJson(core.Map json_)
    : this(
        contacts: json_.containsKey('contacts')
            ? (json_['contacts'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  Person.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        readMask: json_.containsKey('readMask')
            ? json_['readMask'] as core.String
            : null,
        sources: json_.containsKey('sources')
            ? (json_['sources'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
      );