createTableWithSchema method

Future<void> createTableWithSchema({
  1. required String name,
  2. required Map<String, DataType> schema,
  3. CreateMode mode = CreateMode.create,
})

Create a new table with a specific schema.

Implementation

Future<void> createTableWithSchema({required String name, required Map<String, DataType> schema, CreateMode mode = CreateMode.create}) {
  return _createTable(name: name, schema: schema, mode: mode);
}