encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    reasonCode.index,
    extraString,
    message,
  ];
}