toMap method
Implementation
Map<String, dynamic> toMap() {
Map<String, dynamic> map = {};
addToMap('distanceToGoalThreshold', distanceToGoalThreshold, map);
addToMap('outsideRouteThreshold', outsideRouteThreshold, map);
addToMap('distanceToIgnoreFirstIndication', distanceToIgnoreFirstIndication,
map);
// Android vs iOS inconsistency: both distanceToChangeFloorThreshold and
// distanceToFloorChangeThreshold are necessary.
addToMap(
'distanceToChangeFloorThreshold', distanceToFloorChangeThreshold, map);
addToMap(
'distanceToFloorChangeThreshold', distanceToFloorChangeThreshold, map);
addToMap('distanceToChangeIndicationThreshold',
distanceToChangeIndicationThreshold, map);
addToMap('indicationsInterval', indicationsInterval, map);
addToMap('timeToFirstIndication', timeToFirstIndication, map);
addToMap('roundIndicationsStep', roundIndicationsStep, map);
addToMap('timeToIgnoreUnexpectedFloorChanges',
timeToIgnoreUnexpectedFloorChanges, map);
if (ignoreLowQualityLocations != null) {
map['ignoreLowQualityLocations'] = ignoreLowQualityLocations;
}
return map;
}