refresh static method
Refreshes the tokens now; parallel calls share one request. Returns true on success.
Implementation
static Future<bool> refresh() {
_refreshInFlight ??= _refresh().whenComplete(() => _refreshInFlight = null);
return _refreshInFlight!;
}