create static method

CaptchaWord create({
  1. String? special_type,
  2. List<int>? answer,
  3. List<String>? words,
})
override

return original data json

Implementation

static CaptchaWord create({
  String? special_type,
  List<int>? answer,
  List<String>? words,
}) {
  CaptchaWord captchaWord = CaptchaWord({
    "@type": special_type,
    "answer": answer,
    "words": words,
  });

  return captchaWord;
}