Map<String, dynamic> toMap() { Map<String, dynamic> map = {}; _addToMapIfNotNull("enableOutdoorPositions", enableOutdoorPositions, map); return map; }