Error constructor Null safety

Error(
  1. {String? kind,
  2. String? message,
  3. required String id,
  4. InstanceRef? exception,
  5. InstanceRef? stacktrace}
)

Implementation

Error({
  this.kind,
  this.message,
  required String id,
  this.exception,
  this.stacktrace,
}) : super(
        id: id,
      );