UserAccountData class

Constructors

UserAccountData({String userEmail = "", String userName = "", String userPhone = "", String userAvatar = "", String userSocialLogin = "", bool enableNotify = true, List<String> userFavorites = const [], List<String> userFavoritesProviders = const [], List<AddressData> userAddress = const [], List<String> blockedUsers = const [], List<CartData> cartData = const []})
UserAccountData.createEmpty()
factory
UserAccountData.fromJson(Map<String, dynamic> data, String _userEmail)
factory

Properties

blockedUsers List<String>
getter/setter pair
cartData List<CartData>
getter/setter pair
enableNotify bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userAddress List<AddressData>
getter/setter pair
userAvatar String
getter/setter pair
userEmail String
getter/setter pair
userFavorites List<String>
getter/setter pair
userFavoritesProviders List<String>
getter/setter pair
userName String
getter/setter pair
userPhone String
getter/setter pair
userSocialLogin String
getter/setter pair

Methods

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

Operators

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