locationOf function Null safety

Location locationOf(
  1. dynamic name
)

Implementation

Location locationOf(name) {
  return sunnyLocalization.locationOf(name!.toString());
}