validateRequiredProps method
- @Deprecated('4.0.0')
- @mustCallSuper
- @override
- Map appliedProps
override
Validates that props with the @requiredProp
annotation are present.
Deprecated. Will be removed in the 4.0.0
release.
Props annotated with @requiredProp
will automatically be validated in UiComponent2
instances.
Implementation
@Deprecated('4.0.0')
@mustCallSuper
@override
void validateRequiredProps(Map appliedProps) {
throw UnsupportedError('[validateRequiredProps] is not supported in UiComponent2, use [propTypes] instead.');
}