Objeto constructor

Objeto({
  1. required String cepOrigem,
  2. required String cepDestino,
  3. required Servico servico,
  4. required Contrato contrato,
  5. required TipoObjeto tipoObjeto,
  6. required int unidades,
  7. required int peso,
  8. double? valor,
  9. DateTime? dataEvento,
  10. int? pesoCubico,
  11. String? numeroRequisicao,
})

Implementation

Objeto(
    {required this.cepOrigem,
    required this.cepDestino,
    required this.servico,
    required this.contrato,
    required this.tipoObjeto,
    required this.unidades,
    required this.peso,
    this.valor,
    this.dataEvento,
    this.pesoCubico,
    this.numeroRequisicao});