validate method
Implementation
@override
void validate() {
super.validate();
if (password == null) {
throw new ApiException(
400, 'Property Password in ProtectionRequest is required.');
}
}
@override
void validate() {
super.validate();
if (password == null) {
throw new ApiException(
400, 'Property Password in ProtectionRequest is required.');
}
}