Map<String, dynamic> toJson() { final Map<String, dynamic> data = new Map<String, dynamic>(); data['channelNumber'] = this.channelNumber; data['name'] = this.name; data['number'] = this.number; return data; }