call method

  1. @override
Future<Either<Failure, List<ElectricalNode>>> call({
  1. NoParams? params,
})
override

Executes the use case with optional parameters.

Returns a Future that completes with the result of type T. Implementations should handle errors appropriately.

Implementation

@override
Future<Either<Failure, List<ElectricalNode>>> call({NoParams? params}) async {
  return await repository.getSavedDiagrams();
}