discontinuedPackage analysis_server_client has been discontinued.
CompletionCaseMatchingMode.fromJson constructor
CompletionCaseMatchingMode.fromJson(
- JsonDecoder jsonDecoder,
- String jsonPath,
- Object? json
)
Implementation
factory CompletionCaseMatchingMode.fromJson(
JsonDecoder jsonDecoder, String jsonPath, Object? json) {
if (json is String) {
try {
return CompletionCaseMatchingMode(json);
} catch (_) {
// Fall through
}
}
throw jsonDecoder.mismatch(jsonPath, 'CompletionCaseMatchingMode', json);
}