toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buildTime != null) 'buildTime': buildTime!,
      if (imageSizeBytes != null) 'imageSizeBytes': imageSizeBytes!,
      if (mediaType != null) 'mediaType': mediaType!,
      if (name != null) 'name': name!,
      if (tags != null) 'tags': tags!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (uploadTime != null) 'uploadTime': uploadTime!,
      if (uri != null) 'uri': uri!,
    };