didUpdateObject method Null safety

FutureOr<Response> didUpdateObject(
  1. InstanceType object
)

Executed after an object was updated.

By default, returns Response.ok with the encoded, updated object. You may override this method to provide some other behavior.

Implementation

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