DateTimeCopyWith extension - dart:core library (original) (raw)

description

Adds copyWith method to DateTime objects.

on

Annotations

Methods

copyWith({int? year, int? month, int? day, int? hour, int? minute, int? second, int? millisecond, int? microsecond, bool? isUtc})→ DateTime

Available on DateTime, provided by the DateTimeCopyWith extension

Creates a new DateTime from this one by updating individual properties.