mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Can change group name
This commit is contained in:
6
lib/utils/map_utils.dart
Normal file
6
lib/utils/map_utils.dart
Normal file
@ -0,0 +1,6 @@
|
||||
/// Map utilities
|
||||
///
|
||||
/// @author Pierre HUBERT
|
||||
|
||||
/// Invert the values of a map with their keys
|
||||
Map<V, K> invertMap<K, V>(Map<K, V> m) => m.map((k, v) => MapEntry(v, k));
|
Reference in New Issue
Block a user