valuesAsList static method
Implementation
static List<Object?> valuesAsList(dynamic value) {
if (value == null) return [null];
if (value is List) return value;
if (value is Iterable) return value.toList();
if (value is Map) return value.values.toList();
return [value];
}