connect method Null safety

Future<int?> connect()

*connect

Connect the printer to use the methods below

Implementation

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