checkDatabaseUpdate method

Future<DocumentsDatabase?> checkDatabaseUpdate(
  1. String databaseID
)

Allows you to to check database update.

databaseID - identifier of the database.

Requires android.permission.INTERNET android permission.

Implementation

Future<DocumentsDatabase?> checkDatabaseUpdate(String databaseID) async {
  String? response = await _bridge.invokeMethod(
    "checkDatabaseUpdate",
    [databaseID],
  );
  return DocumentsDatabase.fromJson(_decode(response));
}