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