Last updated:
0 purchases
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.