createTable method Null safety

void createTable()

Creates the XchainRepository.table if it does not exist.

Implementation

void createTable() async {
  _db.execute('''
    CREATE TABLE IF NOT EXISTS $table (
      $columnAddress BLOB PRIMARY KEY,
      $columnPublicKey TEXT,
      $columnLastBlock BLOB
    );
  ''');
}