patch

External Documentation

void patch(

  1. String path,
  2. JSFunction handler
)

Register PATCH route

Implementation

void patch(String path, JSFunction handler) {
  final patchFn = this['patch']! as JSFunction;
  patchFn.callAsFunction(this, path.toJS, handler);
}