listIndexes method
Lists indexes for table within an optional schema.
Implementation
@override
Future<List<SchemaIndex>> listIndexes(String table, {String? schema}) async =>
snapshot.indexes
.where(
(index) =>
_equals(index.tableName, table) &&
(schema == null || _equals(index.schema, schema)),
)
.toList(growable: false);