lenra-io/client-lib-flutter

[Task] Call listener as function

Aberta

#21 aberto em 20 de fev. de 2024

 (0 comentário) (0 reação) (1 responsável)Dart (0 fork)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (3 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

What should be done

To call a listener we have to keep the route (or at least the callListener function) in the calling scope and that is not great.

This PR parses the received data to add a call method to the Listener components that can take an event object as param.

Technical recommandation

Guia do colaborador