NorbixErrorItem class

One error inside the gateway's responseStatus.errors list.

Constructors

NorbixErrorItem({String? errorCode, String? message, String? fieldName, Map<String, dynamic> context = const {}})
const
NorbixErrorItem.fromJson(Map<String, dynamic> json)
factory

Properties

context → Map<String, dynamic>
Extra values the gateway attached to this error.
final
errorCode → String?
The gateway's own code, e.g. CM-ERRORS-FILES-016.
final
fieldName → String?
The request field the error is about, when it is about one.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
The gateway's own text.
final
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.
override

Operators

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