toJson method

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

Converts this object to TDLib JSON.

Implementation

@override
Map<String, dynamic> toJson() => {
      '@type': CONSTRUCTOR,
      'allow_flash_call': allowFlashCall,
      'allow_missed_call': allowMissedCall,
      'is_current_phone_number': isCurrentPhoneNumber,
      'allow_sms_retriever_api': allowSmsRetrieverApi,
      'firebase_authentication_settings':
          firebaseAuthenticationSettings?.toJson(),
      'authentication_tokens': authenticationTokens,
    };