getSerialNumber method

Future<bool?> getSerialNumber()

Get the serial number from the connected device. The following states can be emitted on the statusStream in response:

iOS Note: Not available on iOS.

Implementation

Future<bool?> getSerialNumber() async {
  return await _channel.invokeMethod(getSerialNumberMethod);
}