toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (baseUrl != null) 'baseUrl': baseUrl!,
      if (contributorInfo != null) 'contributorInfo': contributorInfo!,
      if (description != null) 'description': description!,
      if (filename != null) 'filename': filename!,
      if (id != null) 'id': id!,
      if (mediaMetadata != null) 'mediaMetadata': mediaMetadata!,
      if (mimeType != null) 'mimeType': mimeType!,
      if (productUrl != null) 'productUrl': productUrl!,
    };