BillingPortalSessionFlowSubscriptionUpdate.fromJson constructor

BillingPortalSessionFlowSubscriptionUpdate.fromJson(
  1. Object? json
)

Implementation

factory BillingPortalSessionFlowSubscriptionUpdate.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return BillingPortalSessionFlowSubscriptionUpdate(
      subscription: (map['subscription'] as String));
}