setCustomValidity method Null safety

void setCustomValidity(
  1. String error
)

Implementation

void setCustomValidity(String error);