1
0
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:
2020-05-01 15:39:54 +02:00
parent 257523b526
commit d889321b38
4 changed files with 59 additions and 2 deletions

6
lib/utils/map_utils.dart Normal file
View 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));