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