JsonList<T extends JsonModel> constructor
JsonList<T extends JsonModel> (
- String fieldName
Creates a new JsonList field with the specified field name.
The list is initialized as an empty list. The fieldName corresponds
to the key in the JSON object that this field will map to during
serialization and deserialization.
Parameters:
fieldName: The name of the field as it appears in JSON data.
Implementation
JsonList(super.fieldName) {
rawValue = [];
}