BMFGeofence.fromMap constructor

BMFGeofence.fromMap(
  1. Map map
)

Implementation

BMFGeofence.fromMap(Map map) {
  geofenceId = map['geofenceId'].toString();
  customId = map['customId'].toString();
  geofenceState = map['geofenceState'] == null
      ? null
      : GeofenceActivateState.values[map['geofenceState'] as int];
  coordType = map['coordType'] == null
      ? null
      : BMFLocationCoordType.values[map['coordType'] as int];
  geofenceStyle = GeofenceStyleType.values[map['geofenceStyle'] as int];
}