getDataValueSetImportSummary static method

DataValueSetImportSummary? getDataValueSetImportSummary(
  1. String? lastSyncSummary
)

Implementation

static DataValueSetImportSummary? getDataValueSetImportSummary(
    String? lastSyncSummary) {
  if (lastSyncSummary == null) {
    return null;
  }

  DataValueSetImportSummary? importSummary = null;
  try {
    importSummary =
        DataValueSetImportSummary.fromJson(jsonDecode(lastSyncSummary));
  } catch (e) {}

  return importSummary;
}