Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'checkPasswordRecoveryCode', if (extra != null) '@extra': extra, 'recovery_code': recovery_code }; }