insertIntoToDeviceQueue method
Please do jsonEncode(content)
in your code to stay compatible with
auto generated methods here.
Implementation
@override
Future<int> insertIntoToDeviceQueue(
String type, String txnId, String content) async {
return await _toDeviceQueueBox.add(<String, dynamic>{
'type': type,
'txn_id': txnId,
'content': content,
});
}