UserInfo class

UserInfo holds the information about the user needed to implement the user.Info interface.

Constructors

UserInfo({Map<String, List<String>>? extra, List<String>? groups, String? uid, String? username})
Default constructor.
const
UserInfo.fromJson(Map<String, dynamic> json)
Creates a UserInfo from JSON data.
factory

Properties

extra Map<String, List<String>>?
Any additional information provided by the authenticator.
final
groups List<String>?
The names of groups this user is a part of.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String?
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
final
username String?
The name that uniquely identifies this user among all active users.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a UserInfo instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited