Reply<T> class
An improved implementation of AsyncResponse
Constructors
- Reply({required Status status, T? data, dynamic error, dynamic allowNull = true})
- Reply.error(Status status, [dynamic error = ""])
-
factory
- Reply.success(T data, {bool allowNull = false})
-
factory
Properties
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