messageText property

String get messageText

UTF-8 decode of messageBytes when the bytes are valid printable text. Empty otherwise — fall back to messageBytes (hex-encoded display) for binary messages.

Implementation

String get messageText => _v?['messageText'] as String? ?? '';