mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
6 lines
114 B
Dart
6 lines
114 B
Dart
extension MapExt<K, V> on Map<K, V> {
|
|
Map<RK, RV> fromCast<RK, RV>() {
|
|
return Map<RK, RV>.from(this);
|
|
}
|
|
}
|