You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
387 B
17 lines
387 B
3 years ago
|
import 'package:equatable/equatable.dart';
|
||
|
import 'package:teso/Classes/API%20Clasess/Post.dart';
|
||
|
|
||
|
abstract class VideoPlayerEvent extends Equatable {
|
||
|
@override
|
||
|
List<Object> get props => const [];
|
||
|
}
|
||
|
|
||
|
class VideoSelectedEvent extends VideoPlayerEvent {
|
||
|
final Post video;
|
||
|
|
||
|
VideoSelectedEvent(this.video) : assert(video != null);
|
||
|
|
||
|
@override
|
||
|
List<Object> get props => [video];
|
||
|
}
|