close method
Ends the use of this app and of the admin objects made from it: closes the HTTP client if the app created it. Calls after close throw a StateError.
Implementation
Future<void> close() async {
if (_closed) {
return;
}
_closed = true;
if (_ownsHttp) {
_http.close();
}
}