remove method

  1. @override
Future<Data?> remove(
  1. Id id, [
  2. Map<String, dynamic>? params
])
override

Removes the given resource.

Implementation

@override
Future<Data?> remove(id, [Map<String, dynamic>? params]) async {
  app.sendAction(WebSocketAction(
      eventName: '$path::$removeAction',
      id: id.toString(),
      params: params ?? {}));
  return null;
}