encode method
Implementation
Object encode() {
return <Object?>[
type.index,
document.encode(),
oldIndex,
newIndex,
];
}
Object encode() {
return <Object?>[
type.index,
document.encode(),
oldIndex,
newIndex,
];
}