SearchIntent.fromMap constructor

SearchIntent.fromMap(
  1. Map map
)

Implementation

factory SearchIntent.fromMap(Map<dynamic, dynamic> map) {
  return SearchIntent(
    map['apiKey'],
    hint: map['hint'],
    searchFilter: map['searchFilter'] != null
        ? SearchFilter.fromMap(map['searchFilter'])
        : null,
  );
}