JsonList<T extends DataModel> constructor

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

Implementation

JsonList(
  super.name, {
  super.isRequired,
  super.defaultValue,
}) {
  genericType = T;
  value = [];
}