copyWith method

Properties copyWith({
  1. num? ascent,
  2. num? descent,
  3. List<Segment>? segments,
  4. Extras? extras,
  5. PropertiesSummary? summary,
  6. List<num>? wayPonums,
})

Implementation

Properties copyWith({
  num? ascent,
  num? descent,
  List<Segment>? segments,
  Extras? extras,
  PropertiesSummary? summary,
  List<num>? wayPonums,
}) =>
    Properties(
      ascent: ascent ?? this.ascent,
      descent: descent ?? this.descent,
      segments: segments ?? this.segments,
      extras: extras ?? this.extras,
      summary: summary ?? this.summary,
      wayPonums: wayPonums ?? this.wayPonums,
    );