Encodes this value as a JSON object.
Map<String, Object?> toJson() => <String, Object?>{ 'fromRevision': fromRevision, };