set method
void
set(
- dynamic value
Adds a value to the end of the array.
If the fields list is null, it initializes it before adding the value.
value The value to add to the array.
Implementation
void set(dynamic value) {
fields ??= <T>[];
fields!.add(value);
}