encode method

Object encode()

Implementation

Object encode() {
  return [feature.toJson(), timestamp.millisecondsSinceEpoch];
}