fields property
The list of JSON fields that define the structure of this model.
Each field represents a property that can be serialized to and deserialized from JSON. Subclasses must override this getter to provide their field definitions.
Example:
@override
List<JsonField> get fields => [
JsonString('email'),
JsonInteger('age'),
];
Implementation
@override
List<JsonField> get fields => [
requestProperty,
id,
periodTypeId,
code,
name,
vi,
en,
zh,
ja,
yearId,
halfYearId,
quarterId,
monthId,
weekId,
dayId,
year,
halfOfYear,
quarterOfYear,
quarterOfHalf,
monthOfYear,
monthOfHalf,
monthOfQuarter,
weekOfYear,
weekOfHalf,
weekOfQuarter,
weekOfMonth,
dayOfYear,
dayOfHalf,
dayOfQuarter,
dayOfMonth,
dayOfWeek,
startId,
endId,
date,
weekDay,
];