Encodes this CockpitTestImportMapping as a JSON object.
Map<String, Object?> toJson() => <String, Object?>{ 'sourcePath': sourcePath, 'destinationPath': destinationPath, };