AnybillResult<T> class

Object for displaying the results when accessing the API.

Implementers

Constructors

AnybillResult()
Default constructor
const
AnybillResult.failure({required AnybillErrorType type, int? code, String? message})
Used when the result of the API has failed while being retrieved.
factory
AnybillResult.success(int code, {T? data})
Used when the result of the API has been successfully returned.
factory

Properties

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