ErrorResponse constructor

ErrorResponse({
  1. String? schemaVersion,
  2. required String error,
  3. String? message,
})

Returns a new ErrorResponse instance.

Implementation

ErrorResponse({
  this.schemaVersion,
  required this.error,
  this.message,
});