listViews method

  1. @override
Future<List<SchemaView>> listViews({
  1. String? schema,
})
override

Lists all views on the connection, optionally filtered by schema.

Implementation

@override
Future<List<SchemaView>> listViews({String? schema}) async => snapshot.views
    .where((view) => schema == null || view.schema == schema)
    .toList(growable: false);