toMap method
Implementation
Map<String, dynamic> toMap(p4.Channel c) => {'c_id': Mapper.i.$enc(c.channelId, 'channelId'), 'c_name': Mapper.i.$enc(c.name, 'name'), 'c_description': Mapper.i.$enc(c.description, 'description'), 'c_location': Mapper.i.$enc(c.location, 'location'), 'c_channel_type': Mapper.i.$enc(c.channelType, 'channelType'), 'c_tx_id': Mapper.i.$enc(c.transmitterId, 'transmitterId'), 'c_favourite': Mapper.i.$enc(c.favourite, 'favourite'), 'channel_online': Mapper.i.$enc(c.online, 'online'), 'c_video1': Mapper.i.$enc(c.video1, 'video1'), 'c_video1_head': Mapper.i.$enc(c.video1Head, 'video1Head'), 'c_video2': Mapper.i.$enc(c.video2, 'video2'), 'c_video2_head': Mapper.i.$enc(c.video2Head, 'video2Head'), 'c_audio': Mapper.i.$enc(c.audio, 'audio'), 'c_usb': Mapper.i.$enc(c.usb, 'usb'), 'c_usb1': Mapper.i.$enc(c.usb1, 'usb1'), 'c_serial': Mapper.i.$enc(c.serial, 'serial'), 'c_audio1': Mapper.i.$enc(c.audio1, 'audio1'), 'c_audio2': Mapper.i.$enc(c.audio2, 'audio2'), 'c_sensitive': Mapper.i.$enc(c.sensitive, 'sensitive'), 'view_button': Mapper.i.$enc(c.viewButton, 'viewButton'), 'shared_button': Mapper.i.$enc(c.sharedButton, 'sharedButton'), 'control_button': Mapper.i.$enc(c.controlButton, 'controlButton'), 'exclusive_button': Mapper.i.$enc(c.exclusiveButton, 'exclusiveButton')};