startBroadcast method

  1. @override
Future<void> startBroadcast()
override

Starts the broadcast.

Throws an Exception if starting the broadcast fails.

Implementation

@override
Future<void> startBroadcast() async {
  try {
    await methodChannel.invokeMethod("startBroadcast");
  } catch (e) {
    throw Exception("$e [Start Broadcast]");
  }
}