ModelInitialCollection<T> constructor
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.
各種ModelAdapterのdata
に渡すデータ。
pathにコレクション自体のパスを指定し、value
にIDと値のMapを指定します。
toMapを利用することでJson用にパースすることができます。
Implementation
const ModelInitialCollection(this.value);