Files
plezy/lib/models/plex_first_character.dart
T
2026-02-05 10:15:59 +01:00

12 lines
354 B
Dart

class PlexFirstCharacter {
final String key;
final String title;
final int size;
PlexFirstCharacter({required this.key, required this.title, required this.size});
factory PlexFirstCharacter.fromJson(Map<String, dynamic> json) {
return PlexFirstCharacter(key: json['key'] ?? '', title: json['title'] ?? '', size: json['size'] ?? 0);
}
}