21 lines
484 B
Dart
21 lines
484 B
Dart
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;
|
|
}
|