toDictionary property

Map<String, Object> get toDictionary

Implementation

Map<String, Object> get toDictionary {
  return {
    'data': data,
    'timestamp': timestamp,
    'sender': device.toDictionary
  };
}