Threat constructor

Threat({
  1. String? threatId,
  2. required String name,
})

Implementation

Threat({String? threatId, required this.name})
    : threatId = threatId ?? GeigerConstant.uuid;