NsgDuration extension
- on
Properties
- defaultFormat → String
-
Available on Duration, provided by the NsgDuration extension
no setter
Methods
-
formatAsDate(
String? format, String locale) → String -
Available on Duration, provided by the NsgDuration extension
-
timeAgo(
{String locale = 'ru', bool short = false, Duration? fromDateTime}) → String -
Available on Duration, provided by the NsgDuration extension
-
toDateTime(
) → DateTime -
Available on Duration, provided by the NsgDuration extension