JsonList<T extends JsonModel> constructor

JsonList<T extends JsonModel>(
  1. String fieldName
)

Constructs an instance of JsonList.

Parameters:

  • fieldName: The name of the field.
  • type: The constructor for creating instances of type T.

Implementation

JsonList(super.fieldName) {
  rawValue = [];
}