createEvent function

Event createEvent(
  1. Map map
)

Implementation

Event createEvent(Map map) {
  return Event(
      id: map["identifier"].toString(),
      name: map["name"],
      customFields: Map<String, dynamic>.from(map["customFields"]),
      trigger: createCircleArea(map["trigger"]));
}