decode static method

Implementation

static SK2SubscriptionInfoMessage decode(Object result) {
  result as List<Object?>;
  return SK2SubscriptionInfoMessage(
    promotionalOffers:
        (result[0] as List<Object?>?)!.cast<SK2SubscriptionOfferMessage>(),
    subscriptionGroupID: result[1]! as String,
    subscriptionPeriod: result[2]! as SK2SubscriptionPeriodMessage,
  );
}