NinjaUiIntExtension extension
Extension methods for nullable int objects.
- on
-
- int?
Methods
-
toColor(
{Color placeholder = Colors.white}) → Color -
Available on int?, provided by the NinjaUiIntExtension extension
Converts the current value to a Color. -
validateStatusCode(
{int startStatusCode = 200, int endStatusCode = 299}) → bool -
Available on int?, provided by the NinjaUiIntExtension extension
Validates if the nullable int represents a status code within a specified range.