copyWith method

Extras copyWith({
  1. Steepness? surface,
  2. Steepness? waytypes,
  3. Steepness? steepness,
})

Implementation

Extras copyWith({
  Steepness? surface,
  Steepness? waytypes,
  Steepness? steepness,
}) =>
    Extras(
      surface: surface ?? this.surface,
      waytypes: waytypes ?? this.waytypes,
      steepness: steepness ?? this.steepness,
    );