setMtu method
setMtu sets the MTU size for the BLE connection. The MTU size is the maximum number of bytes that can be sent in a single packet, also, MTU means Maximum Transmission Unit and it is the maximum size of a packet that can be sent in a single transmission.
The return value is the new MTU size, after a negotion with the peripheral.
Implementation
@override
Future<int?> setMtu({required int newMtu}) async {
log("Feature not supported on Web");
return null;
}