Map<String, dynamic> toJson() { return <String, dynamic>{ if (configuration != null) r'configuration': configuration, }; }