checkServerPermission method
Checks one permission against the connected server.
Returns PackageManager.PERMISSION_GRANTED (0) or
PERMISSION_DENIED (-1).
Root servers are not queried through the system and return
PERMISSION_GRANTED directly; the connection is still validated.
Implementation
Future<int> checkServerPermission(String permission) {
throw UnimplementedError(
'checkServerPermission() has not been implemented.',
);
}