Dart
dart:core
Duration
zero constant
zero
description
zero
constant
Null safety
Duration
const
zero
An empty duration, representing zero time.
Implementation
static const Duration zero = Duration(seconds: 0);
Dart
dart:core
Duration
zero constant
Duration class
Constructors
Duration
Properties
hashCode
inDays
inHours
inMicroseconds
inMilliseconds
inMinutes
inSeconds
isNegative
runtimeType
Methods
abs
compareTo
noSuchMethod
toString
Operators
operator *
operator +
operator -
operator <
operator <=
operator ==
operator >
operator >=
operator unary-
operator ~/
Constants
hoursPerDay
microsecondsPerDay
microsecondsPerHour
microsecondsPerMillisecond
microsecondsPerMinute
microsecondsPerSecond
millisecondsPerDay
millisecondsPerHour
millisecondsPerMinute
millisecondsPerSecond
minutesPerDay
minutesPerHour
secondsPerDay
secondsPerHour
secondsPerMinute
zero
Cookies management controls