Map<String, dynamic> toJson() { final subscriptions = this.subscriptions; return { if (subscriptions != null) 'Subscriptions': subscriptions, }; }