ktc_dart 0.1.1 copy "ktc_dart: ^0.1.1" to clipboard
ktc_dart: ^0.1.1 copied to clipboard

outdated

A package that implemented the features of the `Collections` library of `Kotlin` (v1.5).

ktc_dart #

A package that implemented the features of the Collections library of Kotlin (v1.5).

Differences #

This package made Dart friendly. So there's are some differences as below.

  1. Not implemented which if Dart has same feature but different name.
  2. From 1. If there are sibling features. The name of features follows the Dart method name.
  3. As 2. If there are arguments that has same functionality. The name of arguments follows the Dart arguments name.
  4. The return type is same as implemented class as can as possible.
  5. Unlike Kotlin, Dart has no method overloading. So there are some features that can not implement to same name. When then change name slight differently. For example overloading methods associateBy(keySelector) and associateBy(keySelector, valueTransform) in Kotlin are splitted to two method as associateBy(keySelector) and associateAndTransformBy(keySelector, valueTransfrom).

Todos #

  • Iterable
  • List
  • Set
  • Map
4
likes
0
pub points
36%
popularity

Publisher

unverified uploader

A package that implemented the features of the `Collections` library of `Kotlin` (v1.5).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on ktc_dart