toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
      'aspect_ratio': aspectRatio,
      'file_path': filePath,
      'height': height,
      'id': id,
      'iso_639_1': iso6391,
      'vote_average': voteAverage,
      'vote_count': voteCount,
      'width': width,
      'image_type': imageType,
      'media': media.toMap(),
      'media_type': mediaType,
    };