castPlatformMapToDartMap function Null safety

Map<String, dynamic>? castPlatformMapToDartMap(
  1. Map? map
)

Implementation

Map<String, dynamic>? castPlatformMapToDartMap(Map? map) {
  return map?.cast<String, dynamic>();
}