toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'id': id,
    'calibreId': calibreId,
    'closingDate': closingDate.toIso8601String(),
    'initialQtCl': initialQtCl,
    'finalQtCl': finalQtCl,
    'quantityIn': quantityIn,
    'quantityOut': quantityOut,
    'designation': designation,
    'unitsInOnePiece': unitsInOnePiece,
  };
}