checkValidity method

  1. @override
void checkValidity()
override

Classes can implement this to check the validity.

If the component missed required information, throw a FormatException with details.

Implementation

@override
void checkValidity() {
  super.checkValidity();
  checkMandatoryProperty(DateTimeProperty.propertyNameStart);
  checkMandatoryProperty(UtfOffsetProperty.propertyNameTimezoneOffsetFrom);
  checkMandatoryProperty(UtfOffsetProperty.propertyNameTimezoneOffsetTo);
}