getLocation abstract method Null safety

Future<Location?> getLocation()

Gets location.