subscribe static method

Future<void> subscribe(
  1. dynamic topics
)

Implementation

static Future<void> subscribe(dynamic topics) async {
  // Running on Web?
  if (kIsWeb) {}

  // Attempt to subscribe the device to topic(s)
  return await _channel.invokeMethod('subscribe', <dynamic>[topics]);
}