getInitalState method

S getInitalState(
  1. String nameSpace
)

Implementation

S getInitalState(String nameSpace) {
  return models.singleWhere((m) {
    return m.nameSpace == nameSpace;
  }).initialState;
}