send static method
The EsptouchTask automatic termination when connected esp devices total equal count
value.
The count
default value is -1, This will have no quantity limit to connect wifi esp devices.
You can send password by specify EsptouchTask with Broadcast or MulitCast.
Broadcast when isBroadcast
value is true
MulitCast when isBroadcast
value is false
Implementation
static Future<String> send(String password,
{int? count = -1, bool isBroadcast = true}) async {
final String message = await _channel.invokeMethod('send',
{"password": password, "isBroadcast": isBroadcast, "count": count});
return message;
}