getDetectionType method

String? getDetectionType()

For police ("popo") reports - gets detection method

Implementation

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