Model<T> constructor

const Model<T>(
  1. Symbol dataKey,
  2. T value, {
  3. ValueChanged<T>? onChanged,
})

Creates a Model for MultiModel.

Implementation

const Model(this.dataKey, this.value, {this.onChanged})
    : child = null,
      super(key: null);