text property

String text

Returns the body of this event if it has a body.

Implementation

String get text => content.tryGet<String>('body') ?? '';