title: how can i assign MessageEvents' message to string variable in dart/flutter/redis
body: <p>i am using <a href="https://pub.dev/packages/dartis" rel="nofollow noreferrer">dartis 0.5.0</a> for my redis connection and copied the code from pubsub example folder,here it is;</p>
  <pre><code>void main() async {
  runApp(MyApp());
  
  
  final broker =
    await redis.PubSub.connect&lt;String, String&gt;('redis://localhost:6379');
   print('connected');
   
  ProcessSignal.sigint.watch().listen((_) async {
  await broker.disconnect();
  exit(0);});
      
   // Outputs the data received from the server.
    broker.stream.listen(print,onError: print,onDone: () =&gt; exit(0));
  
    broker.psubscribe(pattern: 'commands');
  }
  </code></pre>
  <p>and this my terminal message;</p>
  <p>I/flutter (26344): connected</p>
  <p>I/flutter (26344): SubscriptionEvent: {command=psubscribe, channel=commands, channelCount=1}</p>
  <p>I/flutter (26344): MessageEvent&lt;String, String&gt;: {channel=commands, message=7, pattern=commands}</p>
  <p>the code works but i need to get MessageEvent' message and assign it to string variable,im probably couple lines of code far but couldnt succeeded yet.Further more, its inside of main' body during now for testing and stuff but it'll be in one of the stateful widget in the project so im thinking to write a function with returning to string,then i'll be able to use it somewhere else so yeah i hope i made it clear,if you guys can help me to figure this out,i would be really appreciated</p>