listForeignKeys method
Lists foreign keys for table within an optional schema.
Implementation
@override
Future<List<SchemaForeignKey>> listForeignKeys(
String table, {
String? schema,
}) async => snapshot.foreignKeys
.where(
(fk) => _equalsOwner(fk.schema, schema) && _equals(fk.tableName, table),
)
.toList(growable: false);