jwt static method

String? Function(String?) jwt({
  1. String errorMessage = 'Please enter a valid JWT',
})

Ensures the string is a valid JSON Web Token.

Implementation

static String? Function(String?) jwt({
  String errorMessage = 'Please enter a valid JWT',
}) {
  return _build(errorMessage, (v) => v.isJWT);
}