factory PlatformList.fromMap(Map<String, dynamic> map) { return PlatformList( total: map['total'], platforms: List.from(map['platforms'] ?? []), ); }