mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
5
lib/utils/extension/map_ext.dart
Normal file
5
lib/utils/extension/map_ext.dart
Normal file
@@ -0,0 +1,5 @@
|
||||
extension MapExt<K, V> on Map<K, V> {
|
||||
Map<RK, RV> fromCast<RK, RV>() {
|
||||
return Map<RK, RV>.from(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user