Geofence constructor
Geofence(
- MethodChannel _channel,
- EventChannel _geofenceEventChannel
Implementation
Geofence(this._channel, EventChannel _geofenceEventChannel)
: geofenceEventStream = _geofenceEventChannel
.receiveBroadcastStream()
.map((event) => Event(
name: event["name"],
payload: Map<String, dynamic>.from(event["payload"])));