setApplication method
- Channel channel,
- Uint8List? data
Implementation
void setApplication(Channel channel, Uint8List? data) {
final Uint8List? newData = (data?.isEmpty ?? false) ? null : data;
if (newData == null) {
_application.remove(channel);
} else {
_application[channel] = newData;
}
}