initDB method

Future<Null> initDB()

Initialize Database

Implementation

Future<Null> initDB() async {
  _dbPath = await getDatabasesPath();
  _db = await openDatabase(_dbPath + '/appStorageDB.db', version: 1);
  await _createTable();
}