SDNWidget class

Constructors

SDNWidget({required Room room, String? creatorUserId, Map<String, dynamic>? data = const {}, String? id, required String? name, required String type, required String url, bool waitForIframeLoad = false})
SDNWidget.custom(Room room, String name, Uri url)
creates an m.custom SDNWidget
factory
SDNWidget.etherpad(Room room, String name, Uri url)
creates an m.etherpad SDNWidget
factory
SDNWidget.fromJson(Map<String, dynamic> json, Room room)
factory
SDNWidget.jitsi(Room room, String name, Uri url, {bool isAudioOnly = false})
creates an m.jitsi SDNWidget
factory
SDNWidget.video(Room room, String name, Uri url)
creates an m.video SDNWidget
factory

Properties

creatorUserId String?
final
data Map<String, dynamic>?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
name String?
final
room Room
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final
url String
use buildWidgetUrl instead
final
waitForIframeLoad bool
final

Methods

buildWidgetUrl() Future<Uri>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited