copyWith method

GetBusinessFeatures copyWith({
  1. BusinessFeature? source()?,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

GetBusinessFeatures copyWith({BusinessFeature? Function()? source}) =>
    GetBusinessFeatures(source: source != null ? source() : this.source);