toJson method Null safety

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (blobGeneration != null) 'blobGeneration': blobGeneration!,
      if (blobId != null) 'blobId': blobId!,
      if (downloadReadHandle != null)
        'downloadReadHandle': downloadReadHandle!,
      if (readToken != null) 'readToken': readToken!,
      if (uploadMetadataContainer != null)
        'uploadMetadataContainer': uploadMetadataContainer!,
    };