encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    state,
    rtt,
    uplinkReport.encode(),
    downlinkReport.encode(),
  ];
}