toJson method

  1. @visibleForTesting
Map<String, dynamic> toJson()

Implementation

@visibleForTesting
Map<String, dynamic> toJson() => {
      "databaseID": databaseID,
      "version": version,
      "date": date,
      "databaseDescription": databaseDescription,
      "countriesNumber": countriesNumber,
      "documentsNumber": documentsNumber,
      "size": size
    }.clearNulls();