toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FailureReason.requestTimedOut:
      return 'REQUEST_TIMED_OUT';
    case FailureReason.unsupportedAlgorithm:
      return 'UNSUPPORTED_ALGORITHM';
    case FailureReason.other:
      return 'OTHER';
  }
}