BelongsToCollection.fromMap constructor
Implementation
factory BelongsToCollection.fromMap(Map<String, dynamic> json) =>
BelongsToCollection(
id: json['id'] as int? ?? 0,
name: json['name'] as String? ?? '',
posterPath: json['poster_path'] as String? ?? '',
backdropPath: json['backdrop_path'] as String? ?? '',
);