PromotionCodeId.fromJson constructor

PromotionCodeId.fromJson(
  1. Object? json
)

Implementation

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