set method

void set(
  1. dynamic value
)

Implementation

void set(dynamic value) {
  fields ??= <T>[];
  fields!.add(value);
}