encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    location?.encode(),
    type.index,
    significance.index,
  ];
}