toJson method

Map<String, dynamic> toJson()

Implementation

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