toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'aspect_ratio': this.aspectRatio,
    'file_path': AssetResolver.getPathFromUrl(this.filePath),
    'height': this.height,
    'iso_639_1': this.iso,
    'vote_average': this.voteAverage,
    'vote_count': this.voteCount,
    'width': this.width,
  };
}