toMap method

  1. @override
Map<String, Object> toMap ()
override

model -> map

Implementation

@override
Map<String, Object> toMap() {
  return {
    'startCoord': this.startCoord?.toMap(),
    'startName': this.startName,
    'endCoord': this.endCoord?.toMap(),
    'endName': this.endName,
    'naviType': this.naviType.index,
    'appScheme': this.appScheme,
    'appName': this.appName,
    'isSupportWeb': this.isSupportWeb
  };
}