DataSourceSyncJobMetrics.fromJson constructor

DataSourceSyncJobMetrics.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DataSourceSyncJobMetrics.fromJson(Map<String, dynamic> json) {
  return DataSourceSyncJobMetrics(
    documentsAdded: json['DocumentsAdded'] as String?,
    documentsDeleted: json['DocumentsDeleted'] as String?,
    documentsFailed: json['DocumentsFailed'] as String?,
    documentsModified: json['DocumentsModified'] as String?,
    documentsScanned: json['DocumentsScanned'] as String?,
  );
}