getFirstOrNull

open fun getFirstOrNull(): T?

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

Return

The first result data or null if the result was unsuccessful.