BMFSuggestionSearchOption.fromMap constructor

BMFSuggestionSearchOption.fromMap(
  1. Map map
)

map => BMFSuggestionSearchOption

Implementation

BMFSuggestionSearchOption.fromMap(Map map)
    : assert(map != null,
          'Construct a BMFSuggestionSearchOption,The parameter map cannot be null !') {
  keyword = map['keyword'];
  cityname = map['cityname'];
  location =
      map['location'] == null ? null : BMFCoordinate.fromMap(map['location']);
  cityLimit = map['cityLimit'] as bool;
}