CostModel.fromJson constructor

CostModel.fromJson(
  1. List<String> json
)

Implementation

factory CostModel.fromJson(List<String> json) {
  return CostModel(json.map((e) => BigInt.parse(e)).toList());
}