ServerCallBuzzParams class

Params of the server.call.buzz event.

Annotations
  • @freezed

Constructors

ServerCallBuzzParams({@JsonKey(name: 'jid') required String jid, @JsonKey(name: 'icons') required IconData icons, @JsonKey(name: 'display_name') required String displayName, @JsonKey(name: 'teaminfo') required TeamShort teamShort, @JsonKey(name: 'chat') required ChatShort chatShort, @JsonKey(name: 'actor') required ContactShort actorShort, @JsonKey(name: 'uid') required String uid, @JsonKey(name: 'buzz_timeout') required int buzzTimeout, @Deprecated('Deprecated.') @JsonKey(name: 'team') required String team, @JsonKey(name: 'call_type') String? callType})
const
factory
ServerCallBuzzParams.fromJson(Map<String, dynamic> json)
factory

Properties

actorShort ContactShort
Short call creator information.
no setterinherited
buzzTimeout int
Number of seconds for stop buzzing.
no setterinherited
callType String?
CallType is a type of call("audio" - audio room, "video" - video room).
no setterinherited
chatShort ChatShort
Short chat information.
no setterinherited
copyWith → $ServerCallBuzzParamsCopyWith<ServerCallBuzzParams>
no setterinherited
displayName String
Chat title.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
icons IconData
Chat icons.
no setterinherited
jid String
Chat or contact id.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
team String
Deprecated.
no setterinherited
teamShort TeamShort
Short team information.
no setterinherited
uid String
Call id.
no setterinherited

Methods

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

Operators

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