GdataBlobstore2Info.fromJson constructor Null safety

GdataBlobstore2Info.fromJson(
  1. Map _json
)

Implementation

GdataBlobstore2Info.fromJson(core.Map _json)
    : this(
        blobGeneration: _json.containsKey('blobGeneration')
            ? _json['blobGeneration'] as core.String
            : null,
        blobId: _json.containsKey('blobId')
            ? _json['blobId'] as core.String
            : null,
        downloadReadHandle: _json.containsKey('downloadReadHandle')
            ? _json['downloadReadHandle'] as core.String
            : null,
        readToken: _json.containsKey('readToken')
            ? _json['readToken'] as core.String
            : null,
        uploadMetadataContainer: _json.containsKey('uploadMetadataContainer')
            ? _json['uploadMetadataContainer'] as core.String
            : null,
      );