checkOwnerPassword method

Future<bool> checkOwnerPassword(
  1. String password
)

Whether the owner password is correct.

example:

var isCorrect = await document.checkOwnerPassword('password');

Implementation

Future<bool> checkOwnerPassword(String password) async {
  return await _channel
      .invokeMethod('check_owner_password', {'password': password});
}