onCreate static method

void onCreate(
  1. Database db,
  2. int version
)

Implementation

static void onCreate(Database db, int version) async {
  await db.execute(
    'CREATE TABLE api_cache_data (id INTEGER PRIMARY KEY AUTOINCREMENT, key TEXT, syncData TEXT, syncTime INTEGER)',
  );
}