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