Future<Response> 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

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