RoomNameConstraint constructor

RoomNameConstraint(
  1. dynamic checkFunction(
    1. String
    ),
  2. String constraintMessage
)

Implementation

RoomNameConstraint(Function(String) checkFunction, String constraintMessage) {
  _checkFunction = checkFunction;
  _constraintMessage = constraintMessage;
}