getTableSchemeForType method

FutureOr<TableScheme?> getTableSchemeForType(
  1. TypeInfo type
)

Returns a TableScheme for type.

Implementation

FutureOr<TableScheme?> getTableSchemeForType(TypeInfo type) {
  return getTableForType(type).resolveMapped((table) {
    if (table == null) return null;
    return getTableScheme(table);
  });
}