SubscriptionsTrialsResourceEndBehavior.fromJson constructor

SubscriptionsTrialsResourceEndBehavior.fromJson(
  1. Object? json
)

Implementation

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