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