docs: Fix deprecation warning

This commit is contained in:
Krille Fear 2021-03-15 09:24:47 +00:00
parent dd2bc860a3
commit 9626c64993
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class EventUpdate {
/// Most events belong to a room. If not, this equals to eventType.
final String roomID;
@Deprecated("Use `content['eventType']` instead.")
@Deprecated("Use `content['type']` instead.")
String get eventType => content['type'];
// The json payload of the content of this event.