copyWith method

WebApiModulesAgentOrderOrderMessage copyWith({
  1. String? tag,
  2. String? message,
  3. bool? preventCheckOut,
  4. String? backgroundColor,
})

Implementation

WebApiModulesAgentOrderOrderMessage copyWith(
    {String? tag,
    String? message,
    bool? preventCheckOut,
    String? backgroundColor}) {
  return WebApiModulesAgentOrderOrderMessage(
      tag: tag ?? this.tag,
      message: message ?? this.message,
      preventCheckOut: preventCheckOut ?? this.preventCheckOut,
      backgroundColor: backgroundColor ?? this.backgroundColor);
}