import 'package:equatable/equatable.dart'; import 'package:teso/Classes/API%20Clasess/Post.dart'; abstract class VideoPlayerEvent extends Equatable { @override List get props => const []; } class VideoSelectedEvent extends VideoPlayerEvent { final Post video; VideoSelectedEvent(this.video) : assert(video != null); @override List get props => [video]; }