MensagemMit class
Mensagem MIT
Constructors
- MensagemMit({required String codigo, required String texto})
- Construtor para MensagemMit.
-
MensagemMit.fromJson(Map<
String, dynamic> json) -
Cria uma instância a partir de um mapa JSON.
factory
Properties
- codigo → String
-
Código da mensagem (ex.:
Sucesso-MIT,Erro-MIT).final - hashCode → int
-
The hash code for this object.
no setterinherited
- isAviso → bool
-
Verifica se é uma mensagem de aviso
no setter
- isErro → bool
-
Verifica se é uma mensagem de erro
no setter
- isSucesso → bool
-
Verifica se é uma mensagem de sucesso
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- texto → String
-
Texto da mensagem.
final
- tipo → String
-
Obtém o tipo da mensagem
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializa a mensagem para um mapa JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited