ErrorResponse class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

ErrorResponse({required ErrorDetail error})
ErrorResponse.fromJson(Map<String, dynamic> json)
factory

Properties

error ErrorDetail
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ErrorDetail? error}) ErrorResponse

Available on ErrorResponse, provided by the $ErrorResponseExtension extension

copyWithWrapped({Wrapped<ErrorDetail>? error}) ErrorResponse

Available on ErrorResponse, provided by the $ErrorResponseExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const ErrorResponse Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(ErrorResponse instance)