Discount.fromJson constructor

Discount.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Discount.fromJson(Map<String, Object?> json) => const Discount();