ChannelMediaInfo class Null safety

ChannelMediaInfo 类。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

ChannelMediaInfo(String channelName, int uid, {String? token})
Constructs a ChannelMediaInfo
ChannelMediaInfo.fromJson(Map<String, dynamic> json)
factory

Properties

channelName String
频道名。
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String?
能加入频道的 Token。
@JsonKey(includeIfNull: false), read / write
uid int
用户 ID。
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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