ChannelMediaInfo

Channel media information.

class ChannelMediaInfo {
  const ChannelMediaInfo({this.channelName, this.token, this.uid});

  @JsonKey(name: 'channelName')
  final String? channelName;
  @JsonKey(name: 'token')
  final String? token;
  @JsonKey(name: 'uid')
  final int? uid;
  factory ChannelMediaInfo.fromJson(Map<String, dynamic> json) =>
      _$ChannelMediaInfoFromJson(json);
  Map<String, dynamic> toJson() => _$ChannelMediaInfoToJson(this);
}

Attributes

channelName
The channel name.
token
The token that enables the user to join the channel.
uid
The user ID.