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.

27 lines
587 B

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