y property
Duration
y
Short-hand for years
Implementation
Duration get y {
return Duration(days: (365 * this).toInt());
}
Short-hand for years
Duration get y {
return Duration(days: (365 * this).toInt());
}