copyWith method
Creates a new FastResponseAdAsset object by copying the existing object and optionally updating some of its properties.
small
, medium
, and large
parameters can be used to override the
corresponding properties, otherwise, the current values are used.
Implementation
@override
FastResponseAdAsset copyWith({
String? small,
String? medium,
String? large,
}) {
return FastResponseAdAsset(
small: small ?? this.small,
medium: medium ?? this.medium,
large: large ?? this.large,
);
}