createInitialState method

  1. @override
ChannelState createInitialState()

Create the initial state for this aggregate Override in subclasses to provide the initial state

Implementation

@override
ChannelState createInitialState() => ChannelState.empty(aggregateId);