UpdatePhotoRequest.fromJson constructor

UpdatePhotoRequest.fromJson(
  1. Map json_
)

Implementation

UpdatePhotoRequest.fromJson(core.Map json_)
    : this(
        photo: json_.containsKey('photo')
            ? Photo.fromJson(
                json_['photo'] as core.Map<core.String, core.dynamic>)
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
      );