encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    detectionStatus.index,
    canDetect,
    locationPermission.index,
    userExists,
  ];
}