doc / ch.tutteli.atrium.creating / DownCastBuilder / withNullRepresentation

withNullRepresentation

fun withNullRepresentation(representation: String): DownCastBuilder<T, TSub> (source)

Use this method if you want to use your own null representation in error reporting (default is RawString.NULL).

Parameters

representation - The representation for null.

Return
This builder to support a fluent-style API.