modelOrElse

fun modelOrElse(fallbackModel: M): M

Try to get the model from this Next, with a fallback if there isn't one.

Parameters

fallbackModel

the default model to use if the Next doesn't have a model