KtMutableList<T>.from constructor

KtMutableList<T>.from([
  1. Iterable<T> elements = const []
])

Implementation

factory KtMutableList.from([Iterable<T> elements = const []]) {
  if (elements.isEmpty) return DartMutableList<T>();
  return DartMutableList(elements);
}