validate method
Implementation
@override
void validate() {
super.validate();
if (text == null) {
throw new ApiException(
400, 'Property Text in WatermarkDataText is required.');
}
color?.validate();
}
@override
void validate() {
super.validate();
if (text == null) {
throw new ApiException(
400, 'Property Text in WatermarkDataText is required.');
}
color?.validate();
}