docs: Fix deprecation warning
This commit is contained in:
parent
dd2bc860a3
commit
9626c64993
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue