LocalityEvent.fromMap constructor

LocalityEvent.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory LocalityEvent.fromMap(Map<String, dynamic> map) {
  return LocalityEvent(
    uuid: map[columnUuid],
    event: map[columnEvent],
    channel: map[columnChannel],
    payload: map[columnPayload],
    timestamp: map[columnTimestamp],
    servertime: map[columnServertime],
  );
}