toMap method

  1. @override
Map toMap ()

BaseResult => map

Implementation

@override
Map toMap() {
  Map map = super.toMap();
  map['stayPointNum'] = this.stayPointNum;
  map['stayPoints'] = this.stayPoints?.map((e) => e?.toMap())?.toList();
  return map;
}