lastDayOfYear property
      
      DateTime
      get
      lastDayOfYear
      
    
    
Returns the last day of this year
Implementation
DateTime get lastDayOfYear => isUtc ? DateTime.utc(year, 12, 31) : DateTime(year, 12, 31);Returns the last day of this year
DateTime get lastDayOfYear => isUtc ? DateTime.utc(year, 12, 31) : DateTime(year, 12, 31);