UnknownContentDetector class
Utility functions for detecting unknown placeholders in content items.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
hasAnyUnknownContent(
ContentItem contentItem, {List< Action?> additionalActions = const [], List<Condition?> additionalConditions = const [], LayoutConfiguration<ContentItem> ? layout}) → bool - Comprehensive check for any unknown content in a content item. This can be extended by subclasses to check specific action/condition fields.
-
hasUnknownActions(
Action? action) → bool - Checks if an Action contains any unknown action configurations.
-
hasUnknownActionsInList(
List< Action?> actions) → bool - Checks if a list of actions contains any unknown action configurations.
-
hasUnknownConditions(
Condition? condition) → bool - Checks if a Condition contains any unknown condition configurations.
-
hasUnknownLayout(
LayoutConfiguration< ContentItem> ? layout) → bool - Checks if a content item has an unknown layout.
-
hasUnknownModifiers(
ContentItem contentItem) → bool - Checks if a content item has any unknown modifiers.