goOffline function

void goOffline({
  1. String? app,
})

Drops the connection to the backend.

Registered OnDisconnect actions run on the server when this takes effect, which is what makes them observable without pulling the power.

Implementation

void goOffline({String? app}) {
  if (_onApp(app, fdbDbGoOffline) != 0) throw _noDatabase('goOffline', app);
}