heartbeat method Null safety

FutureOr<Response> heartbeat(
  1. Request req
)