failure method
Implementation
@override
Future<Either<Failure, Unit>> failure() {
return trying(() async {
final path = 'lib/core/failure.core.dart';
await fileManager.generatePath(path);
final content = await dataSource.failure();
await fileManager.write(path, content);
});
}