getId method

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

Fetch the printer's ID.

Implementation

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