GdataCompositeMedia.fromJson constructor

GdataCompositeMedia.fromJson(
  1. Map _json
)

Implementation

GdataCompositeMedia.fromJson(core.Map _json)
    : this(
        blobRef: _json.containsKey('blobRef')
            ? _json['blobRef'] as core.String
            : null,
        blobstore2Info: _json.containsKey('blobstore2Info')
            ? GdataBlobstore2Info.fromJson(_json['blobstore2Info']
                as core.Map<core.String, core.dynamic>)
            : null,
        cosmoBinaryReference: _json.containsKey('cosmoBinaryReference')
            ? _json['cosmoBinaryReference'] as core.String
            : null,
        crc32cHash: _json.containsKey('crc32cHash')
            ? _json['crc32cHash'] as core.int
            : null,
        inline: _json.containsKey('inline')
            ? _json['inline'] as core.String
            : null,
        length: _json.containsKey('length')
            ? _json['length'] as core.String
            : null,
        md5Hash: _json.containsKey('md5Hash')
            ? _json['md5Hash'] as core.String
            : null,
        objectId: _json.containsKey('objectId')
            ? GdataObjectId.fromJson(
                _json['objectId'] as core.Map<core.String, core.dynamic>)
            : null,
        path: _json.containsKey('path') ? _json['path'] as core.String : null,
        referenceType: _json.containsKey('referenceType')
            ? _json['referenceType'] as core.String
            : null,
        sha1Hash: _json.containsKey('sha1Hash')
            ? _json['sha1Hash'] as core.String
            : null,
      );