fromName static method
Retrieves a CertificateType based on its name.
Implementation
static CertificateType fromName(String? name) {
return values.firstWhere(
(element) => element.name == name,
orElse: () => throw MessageException(
"No CertificateType found matching the specified name",
details: {"name": name}),
);
}