OfferingPromotion.fromJson constructor

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

Implementation

factory OfferingPromotion.fromJson(Map<String, dynamic> json) {
  return OfferingPromotion(
    description: json['description'] as String?,
    id: json['id'] as String?,
  );
}