You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following makes the error type 'Null' is not a subtype of type 'Map<dynamic, dynamic>' in type cast. Because user is required in fromMap, but not provided in toMap. UserProfile does not have a toMap method
get a Credentials object
turn it into a map with toMap
try to create a Credentials object from that map
Reproduction
final result = Credentials.fromMap(credentials.toMap());
Additional context
No response
auth0_flutter version
1.4.1
Flutter version
3.16.3
Platform
Android, iOS
Platform version(s)
all
The text was updated successfully, but these errors were encountered:
The UserProfile type currently does not support map conversion. We're aware of this, but do not have short-term plans to add it ATM. We'd welcome a PR adding it.
Checklist
Description
The following makes the error
type 'Null' is not a subtype of type 'Map<dynamic, dynamic>' in type cast
. Becauseuser
is required infromMap
, but not provided intoMap
.UserProfile
does not have atoMap
methodtoMap
Reproduction
Additional context
No response
auth0_flutter version
1.4.1
Flutter version
3.16.3
Platform
Android, iOS
Platform version(s)
all
The text was updated successfully, but these errors were encountered: