PteroError class

Implemented types
Annotations
  • @freezed

Constructors

PteroError({required PteroErrorCode code, required String status, required String detail, JsonMap? meta})
const
factory
PteroError.fromJson(JsonMap json)
factory

Properties

code PteroErrorCode
no setterinherited
copyWith → $PteroErrorCopyWith<PteroError>
no setterinherited
detail String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
message String
no setter
meta Map<String, dynamic>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
no setterinherited

Methods

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

Operators

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