toValue method
Implementation
String toValue() {
switch (this) {
case KeyType.speke:
return 'speke';
case KeyType.staticKey:
return 'static-key';
}
}
String toValue() {
switch (this) {
case KeyType.speke:
return 'speke';
case KeyType.staticKey:
return 'static-key';
}
}