relatica/lib/models/image_entry.dart

30 wiersze
657 B
Dart
Czysty Zwykły widok Historia

class ImageEntry {
final String id;
final String album;
final String filename;
final String description;
final String thumbnailUrl;
final DateTime created;
final int height;
final int width;
ImageEntry({
required this.id,
required this.album,
required this.filename,
required this.description,
required this.thumbnailUrl,
required this.created,
required this.height,
required this.width,
});
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is ImageEntry && runtimeType == other.runtimeType && id == other.id;
@override
int get hashCode => id.hashCode;
}