text property

String get text

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

Implementation

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