create static method
CaptchaResult
create({
- String? special_type,
- String? type,
- Emoji? emoji_answer,
- List<
Object> ? random_words, - List<
Object> ? words,
override
return original data json
Implementation
static CaptchaResult create({
String? special_type,
String? type,
Emoji? emoji_answer,
List<Object>? random_words,
List<Object>? words,
}) {
CaptchaResult captchaResult = CaptchaResult({
"@type": special_type,
"type": type,
"emoji_answer": (emoji_answer != null) ? emoji_answer.toJson() : null,
"random_words": random_words,
"words": words,
});
return captchaResult;
}