toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (avoidFerries != null) 'avoidFerries': avoidFerries!,
      if (avoidHighways != null) 'avoidHighways': avoidHighways!,
      if (avoidIndoor != null) 'avoidIndoor': avoidIndoor!,
      if (avoidTolls != null) 'avoidTolls': avoidTolls!,
    };