ContentUpdateVersion class
The new version for the updated content. Set this to the current version number incremented by one, unless you are changing the status to 'draft' which must have a version number of 1.
To get the current version number, use
Get content by ID and retrieve version.number
.
Constructors
- ContentUpdateVersion({required int number, String? message})
-
ContentUpdateVersion.fromJson(Map<
String, Object?> json) -
factory
Properties
Methods
-
copyWith(
{int? number, String? message}) → ContentUpdateVersion -
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