16 lines
437 B
Dart
16 lines
437 B
Dart
part of 'addcontact_bloc.dart';
|
|
|
|
abstract class AddContactEvent {}
|
|
|
|
/// Triggered when a new contact has been added by the UI
|
|
class AddedContactEvent extends AddContactEvent {}
|
|
|
|
/// Triggered by the UI when the JID input field is changed
|
|
class JidChangedEvent extends AddContactEvent {
|
|
JidChangedEvent(this.jid);
|
|
final String jid;
|
|
}
|
|
|
|
/// Triggered when the UI wants to reset its state
|
|
class PageResetEvent extends AddContactEvent {}
|