Profile.fromMap constructor
Implementation
factory Profile.fromMap(Map<String, dynamic> json) => Profile(
aspectRatio: json['aspect_ratio'] as num? ?? 0,
filePath: json['file_path'] as String? ?? '',
height: json['height'] as int? ?? 0,
iso6391: json['iso_639_1'] as String? ?? '',
voteAverage: json['vote_average'] as num? ?? 0,
voteCount: json['vote_count'] as int? ?? 0,
width: json['width'] as int? ?? 0,
);