SubscriptionItemBillingThresholds.fromJson constructor
SubscriptionItemBillingThresholds.fromJson(
- Object? json
Implementation
factory SubscriptionItemBillingThresholds.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SubscriptionItemBillingThresholds(
usageGte: map['usage_gte'] == null
? null
: (map['usage_gte'] as num).toInt());
}