toValue method
Implementation
String toValue() {
switch (this) {
case FailureCode.clientError:
return 'CLIENT_ERROR';
case FailureCode.serverFault:
return 'SERVER_FAULT';
}
}
String toValue() {
switch (this) {
case FailureCode.clientError:
return 'CLIENT_ERROR';
case FailureCode.serverFault:
return 'SERVER_FAULT';
}
}