call method
- ValidateDiagramParams? 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<List<ValidationResult>> call({ValidateDiagramParams? params}) async {
if (params == null) throw Exception("Params required");
return params.standard.validateSchema(params.root);
}