$mapping constant

Implementation

static const Map<String,
    DiscountsResourceDiscountAmountDiscount Function(Object?)> $mapping = {
  'discount': Discount.fromJson,
  'deleted_discount': DeletedDiscount.fromJson,
};