SearchResultKind.fromJson constructor
Implementation
factory SearchResultKind.fromJson(
JsonDecoder jsonDecoder, String jsonPath, Object? json) {
if (json is String) {
try {
return SearchResultKind(json);
} catch (_) {
// Fall through
}
}
throw jsonDecoder.mismatch(jsonPath, 'SearchResultKind', json);
}