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.

30 lines
685 B

3 years ago
import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
@immutable
abstract class LeaveMsgEvent extends Equatable {
const LeaveMsgEvent();
@override
List<Object> get props => [];
}
class GetLeaveMsgCategoryEvent extends LeaveMsgEvent {
final String? uid;
GetLeaveMsgCategoryEvent({@required this.uid}) : super();
}
class SubmitLeaveMsgEvent extends LeaveMsgEvent {
final List<String>? imageUrls;
final String? content;
SubmitLeaveMsgEvent({@required this.content, @required this.imageUrls})
: super();
}
class UploadImageEvent extends LeaveMsgEvent {
final String? filePath;
UploadImageEvent({@required this.filePath}) : super();
}