isPeripheralSupported method

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

实现 FlutterBluetoothPluginPlatform.isPeripheralSupported

参数、默认值、平台差异和推荐值见平台接口文档。

Implementation

@override
Future<bool> isPeripheralSupported() async {
  return await methodChannel.invokeMethod<bool>('isPeripheralSupported') ??
      false;
}