asListOr method

List asListOr (List defaultValue)

Asserts that value is a List and returns it.

If value doesn't exist, this returns defaultValue.

Implementation

List asListOr(List defaultValue) => asList;