DeletedCoupon.fromJson constructor
DeletedCoupon.fromJson(
- Object? json
Implementation
factory DeletedCoupon.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return DeletedCoupon(id: (map['id'] as String));
}