NinjaUiTimeExtension extension

Extension methods for nullable TimeOfDay objects.

on

Methods

convert({String placeHolder = '', String format = 'hh:mm a'}) String

Available on TimeOfDay?, provided by the NinjaUiTimeExtension extension

Formats the nullable TimeOfDay into a string representation.
isAfter(TimeOfDay? toTime) bool

Available on TimeOfDay?, provided by the NinjaUiTimeExtension extension

Checks if the nullable TimeOfDay is after another TimeOfDay.
isBefore(TimeOfDay? toTime) bool

Available on TimeOfDay?, provided by the NinjaUiTimeExtension extension

Checks if the nullable TimeOfDay is before another TimeOfDay.