coerceSetOrNull<T> static method
Coerce a Set from D4rt, returning null if arg is null.
Implementation
static Set<T>? coerceSetOrNull<T>(Object? arg, String paramName) {
if (arg == null) return null;
return coerceSet<T>(arg, paramName);
}