toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'phoneNumberAuthenticationSettings',
    if (extra != null) '@extra': extra,
    'allow_flash_call': allow_flash_call,
    'allow_missed_call': allow_missed_call,
    'is_current_phone_number': is_current_phone_number,
    'allow_sms_retriever_api': allow_sms_retriever_api,
    'firebase_authentication_settings': firebase_authentication_settings,
    'authentication_tokens': authentication_tokens
  };
}