fromMap method

Channel fromMap(
  1. Map<String, dynamic> map
)

Implementation

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