encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    timestamp,
    triggeringLocation,
    eventType.index,
    geofences,
  ];
}