copyWith method
LMAction
copyWith(
{ - LucyAction? lucyAction,
- String? successMessage,
- UXPRedirectWidgetJson? redirectWidget,
- Map<String, String>? redirectUrl,
- Map<String, dynamic>? redirectAddOn,
- String? type,
- bool? goToHome,
- String? mobileUI,
})
Implementation
LMAction copyWith({
LucyAction? lucyAction,
String? successMessage,
//LMPage? redirectPage,
UXPRedirectWidgetJson? redirectWidget,
Map<String, String>? redirectUrl,
Map<String, dynamic>? redirectAddOn,
String? type,
SlidePopup? slidePopup,
bool? goToHome,
String? mobileUI,
}) {
return LMAction(
lucyActionEx: lucyAction ?? this.lucyActionEx,
successMessage: successMessage ?? this.successMessage,
//redirectPage: redirectPage ?? this.redirectPage,
redirectWidget: redirectWidget ?? this.redirectWidget,
redirectUrl: redirectUrl ?? this.redirectUrl,
redirectAddOn: redirectAddOn ?? this.redirectAddOn,
type: type ?? this.type,
lucyAction: slidePopup ?? this.lucyAction,
goToHome: goToHome ?? this.goToHome,
mobileUI: mobileUI ?? this.mobileUI,
);
}