FailureMapper class final
Централизованный маппер ошибок в Failure.
Внимание: Используйте FailureMapper2 для новых проектов. Этот класс помечен как deprecated и делегирует вызовы в FailureMapper2.
См. также: FailureMapper2.
- Annotations
-
- @Deprecated('Используйте FailureMapper2')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
from(
Object error, [StackTrace? stackTrace]) → Failure -
Преобразует произвольный
errorв Failure.