SubscriptionsTrialsResourceTrialSettings.fromJson constructor

SubscriptionsTrialsResourceTrialSettings.fromJson(
  1. Object? json
)

Implementation

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