UserModel class

Annotations
  • @freezed

Constructors

UserModel({String? id, String? name, String? mobile, String? lastLoginDate, String? createdAt, String? updatedAt, String? token, String? picture, String? location, String? bio, String? role, String? groupRole, String? webLink, String? facebookLink, String? behanceLink, String? dribbbleLink, String? instagramLink, String? linkedinLink, String? pintrestLink, String? twitterLink})
const
factory
UserModel.fromJson(Map<String, dynamic> json)
factory

Properties

no setterinherited
bio String?
no setterinherited
copyWith → $UserModelCopyWith<UserModel>
no setterinherited
createdAt String?
no setterinherited
no setterinherited
no setterinherited
groupRole String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
no setterinherited
no setterinherited
lastLoginDate String?
no setterinherited
no setterinherited
location String?
no setterinherited
mobile String?
no setterinherited
name String?
no setterinherited
picture String?
no setterinherited
no setterinherited
role String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
no setterinherited
no setterinherited
updatedAt String?
no setterinherited
no setterinherited

Methods

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

Operators

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