youtube_explode/lib/src/channels/channel_link.dart

21 lines
455 B
Dart
Raw Normal View History

2020-10-01 16:55:32 +02:00
import 'package:equatable/equatable.dart';
/// Represents a channel link.
class ChannelLink with EquatableMixin {
/// Link title.
final String title;
/// Link URL.
/// Already decoded with the YouTube shortener already taken out.
final Uri url;
/// Link Icon URL.
final Uri icon;
/// Initialize an instance of [ChannelLink]
ChannelLink(this.title, this.url, this.icon);
@override
List<Object> get props => [title, url, icon];
}