VarBuilder.setDuration
void setDuration(Duration value) @safeSets current to a duration value.
The duration is stored as a native var(Type.DURATION). Read it back with v.as!Duration.
Parameters
value | Time duration. |
void setDuration(Duration value) @safeSets current to a duration value.
The duration is stored as a native var(Type.DURATION). Read it back with v.as!Duration.
value | Time duration. |