toMap method
- @override
override
model -> map
Implementation
@override
Map<String, Object> toMap() {
return {
'distance': this.distance,
'duration': this.duration,
'points': this.points?.map((e) => e?.toMap())?.toList(),
'pointsCount': this.pointsCount,
'name': this.name,
'entrace': this.entrace?.toMap(),
'exit': this.exit?.toMap(),
'instructions': this.instructions,
'buildingid': this.buildingid,
'floorid': this.floorid,
'indoorStepNodes': this.indoorStepNodes?.map((e) => e?.toMap())?.toList()
};
}