fromJson static method

DocReaderDocumentsDatabase? fromJson(
  1. dynamic jsonObject
)

Implementation

static DocReaderDocumentsDatabase? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new DocReaderDocumentsDatabase();

  result.databaseID = jsonObject["databaseID"];
  result.version = jsonObject["version"];
  result.date = jsonObject["date"];
  result.databaseDescription = jsonObject["databaseDescription"];
  result.countriesNumber = jsonObject["countriesNumber"];
  result.documentsNumber = jsonObject["documentsNumber"];
  result.size = jsonObject["size"];

  return result;
}