ktx 1.0.1 ktx: ^1.0.1 copied to clipboard
The KTX Library provides a comprehensive set of tools for managing collections.
import 'package:ktx/ktx.dart';
void main() {
final numbers = [1, 2, 3];
final map = numbers.associateBy((number) => number);
print(map);
}