initializeTable static method

Future<void> initializeTable({
  1. required Database database,
  2. required int version,
})

Implementation

static Future<void> initializeTable({
  required Database database,
  required int version,
}) async {
  await createTable(
    migrationScript: await HttpRequestModel.migration,
    database: database,
  );
  await createTable(
    migrationScript: await HttpResponseModel.migration,
    database: database,
  );
}