BMFIndoorRouteResult.fromMap constructor
- Map map
map => BMFIndoorRouteResult
Implementation
BMFIndoorRouteResult.fromMap(Map map)
: assert(map != null,
'Construct a BMFIndoorRouteResult,The parameter map cannot be null !') {
if (map['routes'] != null) {
routes = new List<BMFIndoorRouteLine>();
map['routes'].forEach((v) {
routes.add(BMFIndoorRouteLine.fromMap(v as Map));
});
}
}