PolyGeofence constructor

PolyGeofence({
  1. required String id,
  2. dynamic data,
  3. required List<LatLng> polygon,
})

Constructs an instance of PolyGeofence.

Implementation

PolyGeofence({required this.id, this.data, required this.polygon})
    : assert(id.isNotEmpty),
      assert(polygon.isNotEmpty);