UserEntity class

Constructors

UserEntity({required String name, required String lastName, required String email, required String phone, String? uid, String? password, String? documentType, String? documentNumber, String? address, String? companyName, String? organizationUidFk, int? roleIdFk, DateTime? createdAt})
UserEntity.fromJson(Map<String, dynamic> json)
factory

Properties

address String?
final
companyName String?
final
createdAt DateTime?
final
documentNumber String?
final
documentType String?
final
email String
final
hashCode int
The hash code for this object.
no setterinherited
lastName String
final
name String
final
organizationUidFk String?
final
password String?
final
phone String
final
roleIdFk int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String?
final

Methods

copyWith({String? uid, String? name, String? lastName, String? email, String? password, String? documentType, String? documentNumber, String? phone, String? address, String? companyName, String? organizationUidFk, int? roleIdFk, DateTime? createdAt}) UserEntity
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

Static Methods

toMap(UserEntity model) Map<String, dynamic>