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,
      );