copyWith method

Input$PackageOrder copyWith({
  1. Enum$OrderDirection? direction()?,
  2. Enum$PackageOrderField? field()?,
})

Implementation

Input$PackageOrder copyWith(
        {Enum$OrderDirection? Function()? direction,
        Enum$PackageOrderField? Function()? field}) =>
    Input$PackageOrder(
        direction: direction == null ? this.direction : direction(),
        field: field == null ? this.field : field());