UGeofence.fromMap constructor
Reads it from the native map.
Implementation
factory UGeofence.fromMap(Map<Object?, Object?> m) => UGeofence(
id: "${m["id"]}",
latitude: (m["latitude"]! as num).toDouble(),
longitude: (m["longitude"]! as num).toDouble(),
radius: (m["radius"] as num?)?.toDouble() ?? 100,
onEnter: m["onEnter"] != false,
onExit: m["onExit"] != false,
notificationTitle: m["notificationTitle"] as String?,
notificationText: m["notificationText"] as String?,
);