copyWith method
Implementation
NudgeAppComponentViewState copyWith({
double? height,
double? width,
String? errorMessage,
bool? isViewReady,
String? viewId,
}) {
return NudgeAppComponentViewState(
height: height ?? this.height,
width: width ?? this.width,
errorMessage: errorMessage ?? this.errorMessage,
isViewReady: isViewReady ?? this.isViewReady,
viewId: viewId ?? this.viewId,
);
}