copyWith method
Implementation
Screen2 copyWith({
Caption? heading,
Caption? body,
Caption? cta,
String? bgImageId,
String? bgImageUrl,
}) =>
Screen2(
heading: heading ?? this.heading,
body: body ?? this.body,
cta: cta ?? this.cta,
bgImageId: bgImageId ?? this.bgImageId,
bgImageUrl: bgImageUrl ?? this.bgImageUrl,
);