ModelInitialCollection<T> constructor

const ModelInitialCollection<T>(
  1. Map<String, T> value
)

Data to be passed to data of various ModelAdapter.

Specify the path to the collection itself in path and the ID and value Map in value.

You can parse for Json by using toMap.

各種ModelAdapterdataに渡すデータ。

pathにコレクション自体のパスを指定し、valueにIDと値のMapを指定します。

toMapを利用することでJson用にパースすることができます。

Implementation

const ModelInitialCollection(this.value);