go function
void
go()
Implementation
void go() async {
final dbHelper = DatabaseHelper.instance;
for (int i = 0; i < 10; i++) {
sleep(Duration(seconds: 5));
// DateTime timestamp = DateTime.now();
// String time = DateTime.now().toString();
// print(time);
// //-----------DB Operation-------------------
// Map<String, dynamic> row = {
// DatabaseHelper.columnName: 'Bob' + i.toString(),
// DatabaseHelper.columnAge: 23
// };
// final id = await dbHelper.insert(row);
// print('inserted row id: $id');
// final allRows = await dbHelper.queryAllRows();
// print('query all rows:');
//
// allRows.forEach((row) {
// print(row);
// });
//
// await _writeCount(allRows.length);
// int m = await _readCount();
int m=0;
SystemRF.notification.notify(NotifyRF(title: m.toString(), description: 'time'));
}
}