isValid abstract method

bool isValid(
  1. dynamic value
)

implement this function to validate value

value is the value of instance or member of property where decorator placed

should return true if value is valid

Implementation

bool isValid(dynamic value);