static List<T>? unmodifiable<T>(List<T>? list) { if (list == null) return null; return List<T>.unmodifiable(list); }