Result<T extends TlObject> class
RPC Result.
Constructors
- Result.error(RpcError error)
-
Creates an error result.
const
- Result.ok(T result)
-
Creates a successful result.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited