fromMap method
- @override
- Map map
map -> dynamic
Implementation
@override
fromMap(Map map) {
if (map == null) {
return null;
}
return BMFRouteLine(
distance: map['distance'],
duration: BMFTime.fromMap(map['duration']),
starting: BMFRouteNode.fromMap(map['starting']),
terminal: BMFRouteNode.fromMap(map['terminal']),
title: map['title']);
}