DomainExceptionFailureMapper constructor
Создаёт маппер доменных исключений.
extraMappings — дополнительные маппинги: тип исключения → функция маппинга.
Implementation
const DomainExceptionFailureMapper({
Map<Type, Failure Function(Object)>? extraMappings,
}) : extraMappings = extraMappings ?? const {};