ErrorResponse class

origin: kt_ifm_gtid_mob/lib/models/response/error_response.dart author: anovsiradj, opencode-go/glm-5.2 version: 2025-03-03, revised: 2026-08-17

Minimal {error} JSON DTO. For richer validation-error parsing, use generateMessage.

Constructors

ErrorResponse({String? error})
ErrorResponse.fromJson(Map<String, dynamic> json)
factory
ErrorResponse.fromRawJson(String str)
factory

Properties

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

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited