safeCast<KK, VV> method

Map<KK, VV> safeCast<KK, VV>()

Implementation

Map<KK, VV> safeCast<KK, VV>() => Map.fromEntries(this.entries.map((e) => MapEntry<KK, VV>(e.key as KK, e.value as VV)));