User class

Constructors

User({required String cellphone, required String documentNumber, String? name, String? otherDocument, Gender? gender, MaritalStatus? maritalStatus, int? day, int? month, int? year, String? occupation, List<Phone>? phones, List<Email>? emails, List<Address>? addresses})
const
User.fromJson(Map<String, dynamic> json)
factory

Properties

addresses List<Address>?
final
cellphone String
cellphone is required because it is used to send the Authentication Code
final
day int?
Birthday: day, month and year are required because it is used to Authentication and to match the user in the app
final
documentNumber String
documentNumber is required because it is used to Authentication and to match the user in the app
final
emails List<Email>?
final
gender Gender?
final
hashCode int
The hash code for this object.
no setterinherited
maritalStatus MaritalStatus?
final
month int?
final
name String?
final
occupation String?
final
otherDocument String?
final
phones List<Phone>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
year int?
final

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