toValue method

String? toValue()

Implementation

String? toValue() {
  if (this == AliyunCaptchaType.slide) {
    return 'nc';
  } else if (this == AliyunCaptchaType.smart) {
    return 'ic';
  }
  return null;
}