printReceipt method
Implementation
Future<dynamic> printReceipt(
Map<String, dynamic> config, List<LineText> data) {
Map<String, Object> args = Map();
args['config'] = config;
args['data'] = data.map((m) {
return m.toJson();
}).toList();
_channel.invokeMethod('printReceipt', args);
return Future.value(true);
}