toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final changeIdentifier = this.changeIdentifier;
  final revision = this.revision;
  final created = this.created;
  final revisionSummary = this.revisionSummary;
  return {
    'changeIdentifier': changeIdentifier,
    'revision': revision,
    if (created != null) 'created': unixTimestampToJson(created),
    if (revisionSummary != null) 'revisionSummary': revisionSummary,
  };
}