ChannelState.empty constructor

ChannelState.empty(
  1. String channelId
)

Create empty initial state

Implementation

factory ChannelState.empty(String channelId) => ChannelState(
      channelId: channelId,
      version: 0,
      lastModified: DateTime.now(),
    );