ErrorEvent constructor

const ErrorEvent({
  1. required String message,
  2. String? type,
})

Implementation

const ErrorEvent({required this.message, this.type});