PointValue.fromJson constructor

PointValue.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PointValue.fromJson(Map<String, dynamic> json) {
  return PointValue(
    loyaltySummary: Getter.getList(json['loyaltySummary'])
        .map((e) => LoyaltySummary.fromJson(Getter.getMap(e)))
        .toList(),
  );
}