StoreA<Model> constructor

StoreA<Model>({
  1. required Model initialModel,
  2. Cmd<Model> initialCmd(
    1. Model initial
    )?,
  3. List<Stream<Msg<Model>>> subscriptions(
    1. Model initial
    )?,
  4. Cmd<Model> onDispose(
    1. Model current
    )?,
})

Implementation

StoreA(
    {required Model initialModel,
    Cmd<Model> Function(Model initial)? initialCmd,
    List<Stream<Msg<Model>>> Function(Model initial)? subscriptions,
    Cmd<Model> Function(Model current)? onDispose})
    : super(
        initialModel: initialModel,
        initialCmd: initialCmd,
        subscriptions: subscriptions,
        onDispose: onDispose,
      );