print method
Implementation
@override
Future<String?> print(List<ItemPrintModel> items) async {
final result = await methodChannel.invokeMethod<String>(
'print',
<String, dynamic>{
'items':
items.map<Map<String, dynamic>>((item) => item.toMap()).toList(),
},
);
return result;
}