JsonList<T extends DataModel> constructor

JsonList<T extends DataModel>(
  1. String name, {
  2. List<T>? defaultValue = const [],
  3. String? helper,
  4. bool isRequired = false,
})

Implementation

JsonList(
  super.name, {
  super.defaultValue = const [],
  super.helper,
  super.isRequired,
}) {
  _value = [];
}