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