Results.fromMap constructor
Implementation
factory Results.fromMap(Map<String, dynamic> json) => Results(
description: json['description'] as String? ?? '',
favoriteCount: json['favorite_count'] as int? ?? 0,
id: json['id'] as int? ?? 0,
itemCount: json['item_count'] as int? ?? 0,
iso6391: json['iso_639_1'] as String? ?? '',
listType: json['list_type'] as String? ?? '',
name: json['name'] as String? ?? '',
posterPath: json['poster_path'] as String? ?? '',
);