DiscountId.fromJson constructor

DiscountId.fromJson(
  1. Object? json
)

Implementation

factory DiscountId.fromJson(Object? json) => DiscountId(id: (json as String));