createGroup method
Creates a secure group.
If labels
is given, then the group init request message is sent to those
particular addresses. Otherwise, the message is broadcasted.
Throws a DeviceFailureException if the Wi-Fi/Bluetooth adapter is not enabled.
Implementation
void createGroup([List<String>? labels]) {
if (_datalinkManager.checkState() == 0) {
throw DeviceFailureException('No wifi and bluetooth connectivity');
}
_presentationManager.groupController.createGroup(labels);
}