toValue method
Implementation
String toValue() {
switch (this) {
case CertificateState.registering:
return 'Registering';
case CertificateState.registered:
return 'Registered';
case CertificateState.registerFailed:
return 'RegisterFailed';
case CertificateState.deregistering:
return 'Deregistering';
case CertificateState.deregistered:
return 'Deregistered';
case CertificateState.deregisterFailed:
return 'DeregisterFailed';
}
}