fromMap static method
Gets a possible FindSession instance from a Map value.
Implementation
static FindSession? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = FindSession(
highlightedResultIndex: map['highlightedResultIndex'],
resultCount: map['resultCount'],
searchResultDisplayStyle: SearchResultDisplayStyle.fromNativeValue(
map['searchResultDisplayStyle'])!,
);
return instance;
}