SessionTrialSettings.fromJson constructor

SessionTrialSettings.fromJson(
  1. Object? json
)

Implementation

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