hasSharedClientDatabaseTables property
bool
get
hasSharedClientDatabaseTables
Whether a shared package owned by the current project contains a table that requires client-side database support.
Implementation
bool get hasSharedClientDatabaseTables =>
whereType<ModelClassDefinition>().any(
(model) =>
model.isSharedModel &&
!model.serverOnly &&
model.shouldGenerateTableCode(false),
);