VersionRestoreParams class

Constructors

VersionRestoreParams({required int versionNumber, required String message, bool? restoreTitle})
VersionRestoreParams.fromJson(Map<String, Object?> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
Description for the version.
final
restoreTitle → bool
If true, the content title will be the same as the title from the version restored. Defaults to false.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
versionNumber → int
The version number to be restored.
final

Methods

copyWith({int? versionNumber, String? message, bool? restoreTitle}) → VersionRestoreParams
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