df_collection 0.4.0 copy "df_collection: ^0.4.0" to clipboard
df_collection: ^0.4.0 copied to clipboard

A package designed to extend Dart collections by offering additional functionality.

example/example.dart

//.title
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//
// Dart/Flutter (DF) Packages by DevCetra.com & contributors. The use of this
// source code is governed by an MIT-style license described in the LICENSE
// file located in this project's root directory.
//
// See: https://opensource.org/license/mit
//
// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
//.title~

import 'package:df_collection/df_collection.dart';

// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

void main() {
  // Traverse a map using a list of keys and a set a new value.
  var buffer = <dynamic, dynamic>{};
  buffer.traverse([1, 2, 3, 4], newValue: 5);
  print(buffer); // {1: {2: {3: {4: 5}}}}
  print(buffer.traverse([1, 2, 3, 4])); // 5
}
1
likes
150
pub points
60%
popularity

Publisher

verified publisherdevcetra.com

A package designed to extend Dart collections by offering additional functionality.

Repository (GitHub)
View/report issues

Topics

#collection #json #list #map #utils

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

collection, df_type

More

Packages that depend on df_collection