getPropertyByIndex method
Get the property schema by its index.
Implementation
IsarPropertySchema getPropertyByIndex(int index) {
if (index == 0) {
return IsarPropertySchema(
name: idName!,
type: IsarType.long,
);
} else {
return properties[index - 1];
}
}