UserPhoto.fromJson constructor

UserPhoto.fromJson(
  1. Map json_
)

Implementation

UserPhoto.fromJson(core.Map json_)
    : this(
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        height:
            json_.containsKey('height') ? json_['height'] as core.int : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
        photoData: json_.containsKey('photoData')
            ? json_['photoData'] as core.String
            : null,
        primaryEmail: json_.containsKey('primaryEmail')
            ? json_['primaryEmail'] as core.String
            : null,
        width: json_.containsKey('width') ? json_['width'] as core.int : null,
      );