toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "clientId": clientId,
  "createdAt": createdAt?.toIso8601String(),
  "email": email,
  "fcmToken": fcmToken,
  "firstName": firstName,
  "isActive": isActive,
  "isDeleted": isDeleted,
  "lastName": lastName,
  "name": name,
  "phone": phone,
  "profilePicture": profilePicture,
  "roleId": roleId,
  "secretKey": secretKey,
  "updatedAt": updatedAt?.toIso8601String(),
  "userId": userId,
  "username": username,
};