insert method

Future<int> insert(
  1. Thread thread
)

Implementation

Future<int> insert(Thread thread) async {
  // debugPrint('insert avatar:' + message.avatar + ' conten:' + message.content + ' timestamp:' + message.timestamp);
  return await database!.insert(tableThread!, thread.toMap());
}