pageWidget method
Implementation
@override
Future<Either<Failure, Unit>> pageWidget({
required String page,
required String widget,
}) {
return _safeCall(() async {
final path = 'lib/presentation/pages/$page/widget/$widget.widget.dart';
await fileManager.generatePath(path);
final content = await localDataSource.widget(widget);
await fileManager.write(path, content);
});
}