Version class

Constructors

Version({User? by, required DateTime when, String? friendlyWhen, String? message, required int number, required bool minorEdit, Content? content, UsersUserKeys? collaborators, VersionExpandable? expandable, GenericLinks? links, bool? contentTypeModified, String? confRev, String? syncRev, String? syncRevSource})
Version.fromJson(Map<String, Object?> json)
factory

Properties

by User?
final
collaborators UsersUserKeys?
final
confRev String?
The revision id provided by confluence to be used as a revision in Synchrony
final
content Content?
final
contentTypeModified bool
True if content type is modifed in this version (e.g. page to blog)
final
expandable VersionExpandable?
final
friendlyWhen String?
final
hashCode int
The hash code for this object.
no setterinherited
final
message String?
final
minorEdit bool
If minorEdit is set to 'true', no notification email or activity stream will be generated for the change.
final
number int
Set this to the current version number incremented by one
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
syncRev String?
The revision id provided by Synchrony
final
syncRevSource String?
Source of the synchrony revision
final
when DateTime
final

Methods

copyWith({User? by, DateTime? when, String? friendlyWhen, String? message, int? number, bool? minorEdit, Content? content, UsersUserKeys? collaborators, VersionExpandable? expandable, GenericLinks? links, bool? contentTypeModified, String? confRev, String? syncRev, String? syncRevSource}) Version
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