MitResponse class

Response base para serviços MIT

Implementers

Constructors

MitResponse({required String status, String? responseId, String? responseDateTime, required List<MensagemMit> mensagens})
Construtor para MitResponse.
MitResponse.fromJson(Map<String, dynamic> json)
Cria uma instância de MitResponse a partir de um mapa JSON.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mensagemErro String?
Texto da primeira mensagem de erro, se houver.
no setter
mensagens List<MensagemMit>
Lista de mensagens retornadas pelo serviço.
final
mensagensAviso List<MensagemMit>
Obtém todas as mensagens de aviso
no setter
mensagensErro List<MensagemMit>
Obtém todas as mensagens de erro
no setter
mensagensSucesso List<MensagemMit>
Obtém todas as mensagens de sucesso
no setter
responseDateTime String?
Data/hora da resposta.
final
responseId String?
Identificador da resposta.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
Código de status da resposta (ex.: "200").
final
sucesso bool
Indica se a requisição foi bem-sucedida (status 200).
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited