getSolar method Null safety

Solar getSolar()

Implementation

Solar getSolar() => _solar!;