AppEvent.custom constructor

const AppEvent.custom({
  1. required String channel,
  2. required String title,
  3. String? detail,
  4. Map<String, Object?> data = const {},
  5. String? body,
  6. bool error = false,
  7. String? level,
  8. String? origin,
})

Implementation

const AppEvent.custom({
  required this.channel,
  required this.title,
  this.detail,
  this.data = const {},
  this.body,
  this.error = false,
  this.level,
  this.origin,
});