ContentBodyCreate class

This object is used when creating or updating content.

Constructors

ContentBodyCreate({required String value, required ContentBodyCreateRepresentation representation})
ContentBodyCreate.fromJson(Map<String, Object?> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
representation → ContentBodyCreateRepresentation
The content format type. Set the value of this property to the name of the format being used, e.g. 'storage'.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The body of the content in the relevant format.
final

Methods

copyWith({String? value, ContentBodyCreateRepresentation? representation}) → ContentBodyCreate
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