GdataDiffUploadRequest.fromJson constructor

GdataDiffUploadRequest.fromJson(
  1. Map _json
)

Implementation

GdataDiffUploadRequest.fromJson(core.Map _json)
    : this(
        checksumsInfo: _json.containsKey('checksumsInfo')
            ? GdataCompositeMedia.fromJson(
                _json['checksumsInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        objectInfo: _json.containsKey('objectInfo')
            ? GdataCompositeMedia.fromJson(
                _json['objectInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        objectVersion: _json.containsKey('objectVersion')
            ? _json['objectVersion'] as core.String
            : null,
      );