inverse static method

Map inverse(
  1. Map f
)

Implementation

static Map inverse(Map f) {
		return f.map( (k, v) => MapEntry(v, k) );
	}