-
| 
         I want to send messages from a stateful Rust part of my app back to the main Flutter app. I have a serializable enum, which does contain structs, which contain structs etc. I looked at some code from the examples where SseEncode gets implemented for custom types, but I do not understand it. Otherwise, how would I go about sending stuff from Rust to Dart in a push based way?  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
        
 Maybe use Stream, or https://cjycode.com/flutter_rust_bridge/guides/direction/rust-call-dart And about the custom encoding: what about https://cjycode.com/flutter_rust_bridge/guides/types/translatable/custom  | 
  
Beta Was this translation helpful? Give feedback.
Maybe use Stream, or https://cjycode.com/flutter_rust_bridge/guides/direction/rust-call-dart
And about the custom encoding: what about https://cjycode.com/flutter_rust_bridge/guides/types/translatable/custom