Map<String, dynamic> toJson() { final condition = this.condition; final containerName = this.containerName; return { 'condition': condition.toValue(), 'containerName': containerName, }; }