BooleanExtensions extension

on

Methods

validate({bool value = false}) bool

Available on bool?, provided by the BooleanExtensions extension

Validate given bool is not null and returns given value if null.