getRadarType method

String? getRadarType()

For police ("popo") reports - gets radar type

Implementation

String? getRadarType() {
  if (type != 'popo' || details['detectionType'] != 'radar') return null;
  return details['radarType'] as String?;
}