AuthInfoExt extension Null safety
It's creating an extension method on the AuthInfo class.
- on
Methods
Static Methods
-
fromResponse(
CreateAccountResponse? response, String pwd) → AuthInfo - If the response is null, return null, otherwise return an AuthInfo object with the response's username, password, and token