Error constructor Null safety

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

Implementation

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