getIdToken method
Returns a JWT token used to identify the user to a Firebase service.
Returns the current token if it has not expired, otherwise this will refresh the token and return a new one.
It forces refresh regardless of token expiration if forceRefresh
parameter is true
.
Implementation
Future<String> getIdToken([bool forceRefresh = false]) =>
handleThenable(jsObject.getIdToken(forceRefresh));