ErrorBase constructor

const ErrorBase({
  1. String? message,
  2. Map<String, dynamic> additionalProperties = const {},
})

Returns a new ErrorBase instance.

Implementation

const ErrorBase({
  this.message,
  Map<String, dynamic> additionalProperties = const {},
}) : super(additionalProperties);