UserInfo class Null safety

用户信息

Constructors

UserInfo({required String uid, String metaData = ''})
const
UserInfo.fromMap(Map map)
factory

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
metaData → String
用户传递的额外信息 [...]
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
uid → String
用户 ID [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited