ErrorEventModel class

The ErrorEventModel class represents an error event with an associated message and code.

This class is used to capture error details in the event of a failure.

Constructors

ErrorEventModel.fromJson(Map<String, dynamic> json)
Creates an ErrorEventModel object from a JSON map.

Properties

code String?
A code identifying the error.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
A message describing the error.
getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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