HMSWhiteboardModel class

HMSWhiteboardModel is a class which includes the properties of a whiteboard

Constructors

HMSWhiteboardModel({required String id, HMSPeer? owner, String? title, String? url, bool? isOwner, required HMSWhiteboardState state})
HMSWhiteboardModel.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
id is the unique identifier of the whiteboard
final
isOwner bool?
isOwner is a boolean which tells if the current user is the owner of the whiteboard
final
owner HMSPeer?
owner is the owner of the whiteboard
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state HMSWhiteboardState
state is an enum of type WhiteboardState which tells the state of the whiteboard
final
title String?
title is the title of the whiteboard
final
url String?
url is the url of the whiteboard which can be used to display whiteboard
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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