allowConnection property

bool get allowConnection

Set if the connection is allowed or not.

Returns

  • True if the connection is allowed, false otherwise

Throws

  • An exception if it fails.

Implementation

static bool get allowConnection {
  final OperationResult resultString = staticMethod(
    'SdkSettings',
    'getAllowConnection',
  );

  return resultString['result'];
}