originalMessage property

MainMessage get originalMessage

For backward compatibility, we still have the originalMessage API.

Implementation

MainMessage get originalMessage => originalMessages.first;
set originalMessage (MainMessage m)

Implementation

set originalMessage(MainMessage m) => originalMessages
  ..clear()
  ..add(m);