lenra-io/client-lib-flutter

[Task] Call listener as function

Open

#21 opened on Feb 20, 2024

 (0 comments) (0 reactions) (1 assignee)Dart (0 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (PR metrics pending)

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

Contributor guide