ContentCreateContainer class

The container of the content. Required if type is comment or certain types of custom content. If you are trying to create a comment that is a child of another comment, specify the parent comment in the ancestors field, not in this field.

Constructors

ContentCreateContainer({required dynamic id, required String type})
ContentCreateContainer.fromJson(Map<String, Object?> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id → dynamic
The id of the container.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of the container.
final

Methods

copyWith({dynamic id, String? type}) ContentCreateContainer
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