getConnectionType method

  1. @override
Future<String?> getConnectionType()
override

getConnectionType() returns a String representing the protocol that was used to connect to the printer.

Implementation

@override
Future<String?> getConnectionType() async {
  String? connectionType =
      await methodChannel.invokeMethod<String>('getConnectionType');
  return connectionType;
}