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