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.

35 lines
908 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 {
3 years ago
// final List<String>? imageUrls;
final String? wid;
final String? aid;
final String? type;
final String? mobile;
final String? email;
3 years ago
final String? content;
3 years ago
// @required this.imageUrls
SubmitLeaveMsgEvent({@required this.wid, @required this.aid, @required this.type, @required this.mobile, @required this.email, @required this.content})
3 years ago
: super();
}
class UploadImageEvent extends LeaveMsgEvent {
final String? filePath;
UploadImageEvent({@required this.filePath}) : super();
}