createIndex abstract method
Creates and returns a new Index object in the connected database.
Note that this method must be called only from a VersionChange transaction mode callback.
Implementation
Index createIndex(String name, Object keyPath,
{bool? unique, bool? multiEntry});