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