add method

  1. @override
void add(
  1. E value
)
override

This operation is not supported by an unmodifiable list.

Implementation

@override
void add(E value) {
  throw UnsupportedError('Cannot add to an unmodifiable list');
}