Success<T> class

An AnybillResult object that represents a successful state.

Inheritance

Constructors

Success(int code, {T? data})
Result object for a successful result

Properties

code int
HTTP status code as integer.
final
data → T?
Dynamic data retrieved from the call.
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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