validate method
Метод проверяет валидность данных
Implementation
@override
void validate() {
assert(customerKey.length <= 36);
final String? _ip = ip;
if (_ip != null) {
assert(_ip.length >= 7 && _ip.length <= 45);
}
final String? _description = description;
if (_description != null) {
assert(_description.length <= 250);
}
}