fromName static method

JwtSupportedAlgorithm? fromName(
  1. String? alg
)

Implementation

static JwtSupportedAlgorithm? fromName(String? alg) {
  return values.firstWhereNullable((e) => e.name == alg);
}