copyWith method

NornsPoint copyWith({
  1. int? key,
  2. NornsDuration? point,
  3. NornsPointType? type,
  4. NornsDuration? period,
})

Implementation

NornsPoint copyWith({
  int? key,
  NornsDuration? point,
  NornsPointType? type,
  NornsDuration? period,
}) {
  return NornsPoint(
    key: key ?? this.key,
    point: point ?? this.point,
    type: type ?? this.type,
    period: period ?? this.period,
  );
}