getByName static method
Implementation
static JsonWebAlgorithm getByName(String? name) {
return allAlgorithms.firstWhere((element) => element.name == name,
orElse: (() =>
throw UnsupportedError('Algorithm \'$name\' not supported.')));
}