method
createIndex

Index createIndex(
String name,
keyPath,
{bool unique,
bool multiEntry}
)

(Not documented.)