getTableScheme method
TableScheme?
getTableScheme(
- String table, {
- TableRelationshipReference? relationship,
- Object? contextID,
override
Returns a TableScheme
for table
.
Calls getTableSchemeImpl handling asynchronous calls.
contextID
should be Expando compatible. It informs that other calls to getTableScheme are in the same context and could have shared internal caches for the samecontextID
instance.
Implementation
@override
TableScheme? getTableScheme(String table,
{TableRelationshipReference? relationship, Object? contextID}) {
// ignore: discarded_futures
var ret = super.getTableScheme(table, relationship: relationship);
if (ret is Future) {
throw StateError("Expected sync return from `super.getTableScheme`");
}
return ret;
}