decodeAsOrNull

inline fun <T : Any> decodeAsOrNull(): T?(source)

Decodes data as T using. If there's an error it will return null