copyWith method

  1. @override
InputStoryAreaTypePreviousVenue copyWith({
  1. String? venueProvider,
  2. String? venueId,
})
override

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

Implementation

@override
InputStoryAreaTypePreviousVenue copyWith({
  String? venueProvider,
  String? venueId,
}) =>
    InputStoryAreaTypePreviousVenue(
      venueProvider: venueProvider ?? this.venueProvider,
      venueId: venueId ?? this.venueId,
    );