map_operators 1.1.1

Dart native js
Flutter Android iOS web

More comfortable syntax for Map type

More comfortable syntax for Map type #

Usage #

A simple usage example:

import 'package:map_operators/map_operators.dart';

void main() {
  var m = {'myKey': 'myVal'};

  // Alternative for m['myKey']!=null:
  print(m&'myKey'); // prints true.

  // Alternative for m['myKey']==null:
  print(m^'notExistsKey'); // prints true

  // Alternative for key access operator []:
  print(m/'myKey'); // prints myVal
}
1
likes
100
pub points
0%
popularity

More comfortable syntax for Map type

Homepage

Documentation

API reference

Uploader

close.screen@gmail.com

License

unknown (LICENSE)

More

Packages that depend on map_operators