isArray property

bool get isArray

Whether or not the data type is a list/array

Implementation

bool get isArray => switch (max) {
      (final IntegerChoice value) when value.value > 1 => true,
      (final BoolChoice value) => value.value,
      _ => false
    };