ErrorEvent constructor

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

Implementation

const ErrorEvent({
  required this.code,
  this.message,
}) : super(name: Event.ERROR);