BroadcastReceiver constructor
Creates a new BroadcastReceiver, which subscribes to the given names.
At least one name needs to be provided.
Implementation
BroadcastReceiver({required this.names})
: assert(names.length > 0),
_id = ++_index;