canConnect method

  1. @override
Future<bool> canConnect()
override

Determines whether a connection can be made at this point in time to the device.

Implementation

@override
Future<bool> canConnect() async => (configuration?.deviceName != null &&
    configuration!.deviceName!.isNotEmpty);