AvailableContentStates class

Constructors

AvailableContentStates({required List<ContentState> spaceContentStates, required List<ContentState> customContentStates})
AvailableContentStates.fromJson(Map<String, Object?> json)
factory

Properties

customContentStates List<ContentState>
Custom content states that can be used by the user on the content of this call. This can be null if custom content states are disabled in the space of the content. This list can be empty if there are no custom content states defined by the user. This will at most have 3 of the most recently published content states. Only the calling user has access to place these states on content, but all users can see these states once they are placed.
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 can be used in the space. This can be null if space content states are disabled in the space. This list can be empty if there are no space content states defined in the space. All spaces start with 3 default space content states, and this can be modified in the UI under space settings.
final

Methods

copyWith({List<ContentState>? spaceContentStates, List<ContentState>? customContentStates}) AvailableContentStates
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