DynamicModelInitialCollection constructor

const DynamicModelInitialCollection(
  1. String path,
  2. Map<String, DynamicMap> value
)

ModelInitialCollection using DynamicMap.

DynamicMapを利用したModelInitialCollection

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 DynamicModelInitialCollection(this.path, super.value);