ClosingLedgerBoutique.fromJson constructor

ClosingLedgerBoutique.fromJson(
  1. Map<String, dynamic> map
)

Implementation

factory ClosingLedgerBoutique.fromJson(Map<String, dynamic> map) {
  return ClosingLedgerBoutique(
    ClosingRange.fromMap(map['closingRange'] as Map<String, dynamic>),
    map['boutiqueId'] as int,
    sell: map['sell'] as int,
    sellCovered: map['sellCovered'] as int,
    sellDeferred: map['sellDeferred'] as int,
    spend: map['spend'] as int,
    spendCovered: map['spendCovered'] as int,
    spendDeferred: map['spendDeferred'] as int,
    wage: map['wage'] as int,
  );
}