map_operators

Last updated:

0 purchases

map_operators Image
map_operators Images
Add to Cart

Description:

map operators

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
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.