Map<String, dynamic> toJson() { return { '__typename': 'SubscriptionStatusIOS', 'renewalInfo': renewalInfo?.toJson(), 'state': state, }; }