class ChannelModel { private id : number ; private name : string ; private icon : string | null ; public constructor ( id , name , icon ) { this . id = id ; this . name = name ; this . icon = icon ; } public getId ( ) { return this . id ; } public getName ( ) { return this . name ; } public getIcon ( ) { return this . icon ; } } export default ChannelModel ;