id property

String? id

This is bloc's id. Every IsolateBlocBase have it's own unique id used to communicate with it's own IsolateBlocWrapper.

Implementation

String? get id => _id;
void id=(String? id)

Sets _id and emits all _unsentStates.

Implementation

set id(String? id) {
  _id = id;
  while (_unsentStates.isNotEmpty) {
    emit(_unsentStates.removeFirst());
  }
}