fromMap static method
- Map<
String, dynamic> ? map, { - EnumMethod? enumMethod,
Gets a possible FindOptions instance from a Map value.
Implementation
static FindOptions? fromMap(
Map<String, dynamic>? map, {
EnumMethod? enumMethod,
}) {
if (map == null) {
return null;
}
final instance = FindOptions(
findTerm: map['findTerm'],
shouldHighlightAllMatches: map['shouldHighlightAllMatches'],
shouldMatchCase: map['shouldMatchCase'],
shouldMatchWord: map['shouldMatchWord'],
suppressDefaultFindDialog: map['suppressDefaultFindDialog'],
);
return instance;
}