InfoUsuario class

Classe que representa as informações de um usuário.

Implemented types
Available extensions

Constructors

InfoUsuario({String nome = "", String sobrenome = "", String cpfCnpj = "", String rg = "", String cnh = "", String pis = "", List<String> emails = const [], List<Telefone> telefones = const [], List<Endereco> enderecos = const [], JsonMap informacoesComplementares = const {}})
InfoUsuario.fromJson(JsonMap json)
factory

Properties

cnh String
CNH do usuário.
getter/setter pair
cpfCnpj String
CPF ou CNPJ do usuário.
getter/setter pair
emails List<String>
Lista de emails do usuário.
getter/setter pair
enderecos List<Endereco>
Lista de endereços do usuário.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
informacoesComplementares JsonMap
getter/setter pair
nome String
Nome do usuário.
getter/setter pair
pis String
PIS do usuário.
getter/setter pair
rg String
RG do usuário.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sobrenome String
Sobrenome do usuário.
getter/setter pair
telefones List<Telefone>
Lista de telefones do usuário.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() JsonMap
toString() String
A string representation of this object.
inherited
validate() List<String>
Validates the current instance and returns a list of error messages if the instance is invalid.
override
validateOrThrow<T extends Exception>([T exception(Iterable<String> errors)?]) → void

Available on Validator, provided by the ValidatorClassExtensions extension

Validates the object and throws an exception if there are any errors.

Operators

operator ==(Object other) bool
The equality operator.
override
operator []=(String key, dynamic value) → void