getCompanyName function Null safety

String getCompanyName()

Implementation

String getCompanyName() => _companyNames[_rand.nextInt(_companyNames.length)];