toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "allow_flash_call": allowFlashCall,
    "allow_missed_call": allowMissedCall,
    "is_current_phone_number": isCurrentPhoneNumber,
    "allow_sms_retriever_api": allowSmsRetrieverApi,
    "authentication_tokens": authenticationTokens.map((i) => i).toList(),
  };
}