toJson method
Converts this request to TDLib JSON, tagged with extra if given.
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) => {
'@type': CONSTRUCTOR,
'old_password': oldPassword,
'new_password': newPassword,
'new_hint': newHint,
'set_recovery_email_address': setRecoveryEmailAddress,
'new_recovery_email_address': newRecoveryEmailAddress,
if (extra != null) '@extra': extra,
};