own method

ImportDetector own (ImportDetector detector)

Returns a not null detector

Implementation

static ImportDetector own(ImportDetector detector) =>
    detector ?? new ImportDetector();