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

error RpcError?
Error.
final
hashCode int
The hash code for this object.
no setterinherited
result → T?
Actual result.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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