recurrence property

Recurrence get recurrence

Recurrence of the phase

Implementation

Recurrence get recurrence {
  if (googlePlayObj != null) {
    return switch (googlePlayObj!.recurrenceMode) {
      RecurrenceMode.finiteRecurring => Recurrence.finiteRecurring,
      RecurrenceMode.infiniteRecurring => Recurrence.infiniteRecurring,
      RecurrenceMode.nonRecurring => Recurrence.nonRecurring,
    };
  }
  if (appStoreObj != null) {
    return Recurrence.infiniteRecurring;
  }
  throw UnsupportedError("Store not supported");
}