registerCommadableMethod method
void
registerCommadableMethod()
Registers a commandable method in this objects GRPC server (service) by the given name.,
method
the GRPC method name.schema
the schema to use for parameter validation.action
the action to perform at the given route.
Implementation
void registerCommadableMethod(String method, Schema? schema,
Future<dynamic> Function(String? correlationId, Parameters args) action) {
endpoint!.registerCommadableMethod(method, schema, action);
}