UGeofenceEvent.fromMap constructor
Reads it from the native map.
Implementation
factory UGeofenceEvent.fromMap(Map<Object?, Object?> m) => UGeofenceEvent(
id: "${m["id"]}",
transition: m["transition"] == "exit" ? UGeofenceTransition.exit : UGeofenceTransition.enter,
time: DateTime.fromMillisecondsSinceEpoch((m["time"] as num?)?.toInt() ?? DateTime.now().millisecondsSinceEpoch),
);