toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final channelId = this.channelId;
final channelUrl = this.channelUrl;
final displayName = this.displayName;
final isChatModerator = this.isChatModerator;
final isChatOwner = this.isChatOwner;
final isChatSponsor = this.isChatSponsor;
final isVerified = this.isVerified;
final profileImageUrl = this.profileImageUrl;
return {
'channelId': ?channelId,
'channelUrl': ?channelUrl,
'displayName': ?displayName,
'isChatModerator': ?isChatModerator,
'isChatOwner': ?isChatOwner,
'isChatSponsor': ?isChatSponsor,
'isVerified': ?isVerified,
'profileImageUrl': ?profileImageUrl,
};
}