toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final sourcePath = this.sourcePath;
  final sourceTable = this.sourceTable;
  final sourceType = this.sourceType;
  final targetPath = this.targetPath;
  final targetTable = this.targetTable;
  final targetType = this.targetType;
  return {
    if (sourcePath != null) 'SourcePath': sourcePath,
    if (sourceTable != null) 'SourceTable': sourceTable,
    if (sourceType != null) 'SourceType': sourceType,
    if (targetPath != null) 'TargetPath': targetPath,
    if (targetTable != null) 'TargetTable': targetTable,
    if (targetType != null) 'TargetType': targetType,
  };
}