typedStateFactory method

  1. @toBeGenerated
TState typedStateFactory(
  1. Map stateMap
)

Returns a typed state object backed by the specified stateMap.

Required to properly instantiate the generic TState class.

Implementation

@toBeGenerated
TState typedStateFactory(Map stateMap) => throw UngeneratedError(member: #typedStateFactory,
    message: GeneratedErrorMessages.typedStateFactory);