FirebaseMessagingFailureMapper class final
Специализированный маппер ошибок Firebase Messaging.
Преобразует FirebaseException от Firebase Messaging в соответствующие
Failure: ошибки разрешений, регистрации токена, каналов уведомлений
и т.д. Распознаёт ошибки по плагину (firebase_messaging) и ключевым
словам в коде/сообщении.
Используется в цепочке FailureSubMapper как часть FailureMapper.
См. также: FailureSubMapper, CommonFailureMapper.
- Implemented types
Constructors
- FirebaseMessagingFailureMapper()
-
const
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
-
tryMap(
Object error, [StackTrace? stackTrace]) → Failure? -
Пытается преобразовать
errorв Failure, если этоFirebaseExceptionот Firebase Messaging.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited