User class
Constructors
User ({String ? gender , Name ? name , Location ? location , String ? username , String ? password , String ? salt , String ? md5 , String ? sha1 , String ? sha256 , num ? registered , num ? dob , String ? phone , String ? cell , String ? pps , Picture ? picture })
const
User.fromJson (String source )
It converts a JSON string into a User object.
factory
User.fromMap (Map <String , dynamic > map )
It creates a User object from a map.
factory
Methods
copyWith ({String ? gender , Name ? name , Location ? location , String ? username , String ? password , String ? salt , String ? md5 , String ? sha1 , String ? sha256 , num ? registered , num ? dob , String ? phone , String ? cell , String ? pps , Picture ? picture })
→ User
It creates a new User object with the same values as the current User
object, but with the values
of the parameters replacing the values of the current User object.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson ()
→ String
It converts the object to a map.
toMap ()
→ Map <String , dynamic >
It converts the object to a map.
toString ()
→ String
A string representation of this object.
inherited