ResponseOrError class

Constructors

ResponseOrError.new({int? requestID, int? statusCode, String? reasonPhrase, String? text, String? error})

Properties

error String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
getter/setter pair
reasonPhrase String?
getter/setter pair
requestID int?
getter/setter pair
responseType ResponseType
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
getter/setter pair
text String?
getter/setter pair

Methods

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

Operators

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