A package that implemented the features of the Collections
library of Kotlin
(v1.5).
This package made Dart
friendly. So there's are some differences as below.
- Not implemented which if
Dart
has same feature but different name. - From 1. If there are sibling features. The name of features follows the
Dart
method name. - As 2. If there are arguments that has same functionality. The name of arguments follows the
Dart
arguments name. - Returns
Iterable
as can as possible when the return type is collection. - Unlike
Kotlin
,Dart
has nomethod overloading
. So there are some features that can not implement to same name. When then change name slight differently. For example overloading methodsassociateBy(keySelector)
andassociateBy(keySelector, valueTransform)
inKotlin
are splitted to two method asassociateBy(keySelector)
andassociateAndTransformBy(keySelector, valueTransfrom)
.
- Iterable
- List
- Set
- Map