getOrNull

open fun getOrNull(): Location?

Get the result list data or null if the result was unsuccessful.

Return

The result data or null if the result was unsuccessful.