copyWith method

ShippingNoteInfos copyWith({
  1. String? shippingNoteNumber,
  2. String? serialNumber,
  3. String? startCountrySubdivisionCode,
  4. String? endCountrySubdivisionCode,
  5. String? startLongitude,
  6. String? startLatitude,
  7. String? endLongitude,
  8. String? endLatitude,
  9. String? startLocationText,
  10. String? endLocationText,
})

Implementation

ShippingNoteInfos copyWith({
  String? shippingNoteNumber,
  String? serialNumber,
  String? startCountrySubdivisionCode,
  String? endCountrySubdivisionCode,
  String? startLongitude,
  String? startLatitude,
  String? endLongitude,
  String? endLatitude,
  String? startLocationText,
  String? endLocationText,
}) =>
    ShippingNoteInfos(
      shippingNoteNumber: shippingNoteNumber ?? _shippingNoteNumber,
      serialNumber: serialNumber ?? _serialNumber,
      startCountrySubdivisionCode:
          startCountrySubdivisionCode ?? _startCountrySubdivisionCode,
      endCountrySubdivisionCode:
          endCountrySubdivisionCode ?? _endCountrySubdivisionCode,
      startLongitude: startLongitude ?? _startLongitude,
      startLatitude: startLatitude ?? _startLatitude,
      endLongitude: endLongitude ?? _endLongitude,
      endLatitude: endLatitude ?? _endLatitude,
      startLocationText: startLocationText ?? _startLocationText,
      endLocationText: endLocationText ?? _endLocationText,
    );