$LegCopyWithExtension extension

This Extension on Leg is to generate the code for a copyWith(...) function.

on

Methods

copyWith({String? duration, int? distanceMeters}) Leg

Available on Leg, provided by the $LegCopyWithExtension extension