addAll method
Adds all elements from another ModelLessArray to this array.
If the fields list is null, it initializes it before adding the elements.
value The ModelLessArray whose elements are to be added to this array.
Implementation
void addAll(ModelLessArray<T> value) {
fields ??= <T>[];
fields!.addAll(value.fields!);
}