GdataDiffChecksumsResponse.fromJson constructor

GdataDiffChecksumsResponse.fromJson(
  1. Map _json
)

Implementation

GdataDiffChecksumsResponse.fromJson(core.Map _json)
    : this(
        checksumsLocation: _json.containsKey('checksumsLocation')
            ? GdataCompositeMedia.fromJson(_json['checksumsLocation']
                as core.Map<core.String, core.dynamic>)
            : null,
        chunkSizeBytes: _json.containsKey('chunkSizeBytes')
            ? _json['chunkSizeBytes'] as core.String
            : null,
        objectLocation: _json.containsKey('objectLocation')
            ? GdataCompositeMedia.fromJson(_json['objectLocation']
                as core.Map<core.String, core.dynamic>)
            : null,
        objectSizeBytes: _json.containsKey('objectSizeBytes')
            ? _json['objectSizeBytes'] as core.String
            : null,
        objectVersion: _json.containsKey('objectVersion')
            ? _json['objectVersion'] as core.String
            : null,
      );