didFindObjects method Null safety

FutureOr<Response> didFindObjects(
  1. List<InstanceType> objects
)

Executed after a list of objects has been fetched.

By default, returns Response.ok with the encoded list of founds objects (which may be the empty list).

Implementation

FutureOr<Response> didFindObjects(List<InstanceType> objects) {
  return Response.ok(objects);
}