UpdateContactPhotoRequest.fromJson constructor

UpdateContactPhotoRequest.fromJson(
  1. Map json_
)

Implementation

UpdateContactPhotoRequest.fromJson(core.Map json_)
    : this(
        personFields: json_.containsKey('personFields')
            ? json_['personFields'] as core.String
            : null,
        photoBytes: json_.containsKey('photoBytes')
            ? json_['photoBytes'] as core.String
            : null,
        sources: json_.containsKey('sources')
            ? (json_['sources'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );