From 9626c6499324699928c7920653fd6328dbe6f549 Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Mon, 15 Mar 2021 09:24:47 +0000 Subject: [PATCH] docs: Fix deprecation warning --- lib/src/utils/event_update.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/utils/event_update.dart b/lib/src/utils/event_update.dart index 772eeebe..7d307a63 100644 --- a/lib/src/utils/event_update.dart +++ b/lib/src/utils/event_update.dart @@ -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.