BMFTransitRoutePlanOption.fromMap constructor

BMFTransitRoutePlanOption.fromMap(
  1. Map map
)

map => BMFTransitRoutePlanOption

Implementation

BMFTransitRoutePlanOption.fromMap(Map map) : super.fromMap(map) {
  city = map['city'];
  transitPolicy = BMFTransitPolicy.values[map['transitPolicy'] as int];
}