discontinuedPackage analysis_server_client has been discontinued.
RemoveContentOverlay.fromJson constructor
RemoveContentOverlay.fromJson(
- JsonDecoder jsonDecoder,
- String jsonPath,
- Object? json
)
Implementation
factory RemoveContentOverlay.fromJson(
JsonDecoder jsonDecoder, String jsonPath, Object? json) {
json ??= {};
if (json is Map) {
if (json['type'] != 'remove') {
throw jsonDecoder.mismatch(jsonPath, 'equal remove', json);
}
return RemoveContentOverlay();
} else {
throw jsonDecoder.mismatch(jsonPath, 'RemoveContentOverlay', json);
}
}