ContentStateSettings class
Constructors
-
ContentStateSettings({required bool contentStatesAllowed, required bool customContentStatesAllowed, required bool spaceContentStatesAllowed, List<
ContentState> ? spaceContentStates}) -
ContentStateSettings.fromJson(Map<
String, Object?> json) -
factory
Properties
- contentStatesAllowed → bool
-
Whether users can place any content states on content
final
- customContentStatesAllowed → bool
-
Whether users can place their custom states on content
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spaceContentStates
→ List<
ContentState> -
space suggested content states that users can choose from
final
- spaceContentStatesAllowed → bool
-
Whether users can place space suggested states on content
final
Methods
-
copyWith(
{bool? contentStatesAllowed, bool? customContentStatesAllowed, bool? spaceContentStatesAllowed, List< ContentState> ? spaceContentStates}) → ContentStateSettings -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited