DiffUploadRequest.fromJson constructor

DiffUploadRequest.fromJson(
  1. Map json_
)

Implementation

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