We have applications that implement FirebaseUser class. In order to support this use case, classes such as IdTokenResult need to be open to being constructed as opposed to having only an internal API.
I propose to add:
IdTokenResult.fromToken(String token):
_data = <String, String>{'token': token},
_app = null;
to it.