unmodifiable<T> static method

List<T>? unmodifiable<T>(
  1. List<T>? list
)

Implementation

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