getOrNull

inline fun <T : Any> getOrNull(key: String? = null): T?