BMFRouteNode.fromMap constructor

BMFRouteNode.fromMap(
  1. Map map
)

map => BMFRouteNode

Implementation

BMFRouteNode.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFRouteNode,The parameter map cannot be null !') {
  uid = map['uid'];
  title = map['title'];
  location =
      map['location'] == null ? null : BMFCoordinate.fromMap(map['location']);
}