RSIMResult<T> class
统一的成功/失败结果,不使用异常传播可预期错误。
Constructors
- RSIMResult.failure(RSIMError? error, {T? data})
-
const
- RSIMResult.nativeFailure(int code, {required String operation, T? data})
-
factory
- RSIMResult.success([T? data])
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited