base64 method

Validator base64({
  1. String? message,
})

Validates that the string is properly Base64 encoded.

Implementation

Validator base64({String? message}) {
  _rules.add(Base64Rule(message ?? _messages.base64));
  return this;
}