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