toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "surface": surface?.toMap(),
      "waytypes": waytypes?.toMap(),
      "steepness": steepness?.toMap(),
    };