Initial commit
This commit is contained in:
20
lib/models/stream_entry.dart
Normal file
20
lib/models/stream_entry.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
class StreamEntry {
|
||||
final String title;
|
||||
final String url;
|
||||
|
||||
StreamEntry({required this.title, required this.url});
|
||||
|
||||
@override
|
||||
String toString() => 'StreamEntry(title: $title, url: $url)';
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is StreamEntry &&
|
||||
runtimeType == other.runtimeType &&
|
||||
title == other.title &&
|
||||
url == other.url;
|
||||
|
||||
@override
|
||||
int get hashCode => title.hashCode ^ url.hashCode;
|
||||
}
|
||||
Reference in New Issue
Block a user