remove method

Future<Map<String, dynamic>> remove(
  1. RequestContext ctx
)

Implementation

Future<Map<String, dynamic>> remove(RequestContext ctx) async {
  return {'deleted': await _tasks.delete(ctx.param('id')!)};
}