ModelInitialDocument<T> constructor

const ModelInitialDocument<T>(
  1. T value
)

Data to be passed to data of various ModelAdapter.

Specify the path of the document itself in path and a value in value.

You can parse for Json by using toMap.

各種ModelAdapterdataに渡すデータ。

pathにドキュメント自体のパスを指定し、valueに値を指定します。

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

Implementation

const ModelInitialDocument(this.value);