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