BMFPolygonGeofence.fromMap constructor

BMFPolygonGeofence.fromMap(
  1. Map map
)

Implementation

BMFPolygonGeofence.fromMap(Map map) : super.fromMap(map) {
  if (map['coordinateList'] != null) {
    coordinateList = [];
    map['coordinateList'].forEach((v) {
      coordinateList?.add(BMFLocCoordinate.fromMap(v as Map));
    });
  }
  coordinateCount = map['coordinateCount'].toString();
}