dynamic didInsertObject(InstanceType object)

Executed after an insert query is successful.

By default, returns Response.ok. The object is the newly inserted InstanceType. You may override this method to provide some other behavior.

Source

FutureOr<Response> didInsertObject(InstanceType object) {
  return new Response.ok(object);
}