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