ClosingStockBoutique<P extends ClosingStockBoutiqueCalibre>.fromMap constructor
ClosingStockBoutique<P extends ClosingStockBoutiqueCalibre>.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ClosingStockBoutique.fromMap(Map<String, dynamic> map) {
return ClosingStockBoutique(
ClosingRange.fromMap(map['closingRange']),
boutiqueId: map['boutiqueId'] as int,
articleCalibres: map['articleCalibres'] == null
? []
: List<P>.from(map['articleCalibres']
.map((x) => ClosingStockBoutiqueCalibre.fromMap(x))),
);
}