IntExtensions extension

on

Methods

isSuccessful() bool

Available on int?, provided by the IntExtensions extension

HTTP status code
validate({int value = 0}) int

Available on int?, provided by the IntExtensions extension

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