disconnect method Null safety

Future<int?> disconnect()

*disconnect

Disconnect the printer

Implementation

Future<int?> disconnect() async => await platform?.invokeMethod('printerStop') ?? 0;