copyWith method

RenderPayload copyWith({
  1. BuildContext? buildContext,
  2. ScopeContext? scopeContext,
  3. List<String>? widgetHierarchy,
  4. String? currentEntityId,
})

Implementation

RenderPayload copyWith({
  BuildContext? buildContext,
  ScopeContext? scopeContext,
  List<String>? widgetHierarchy,
  String? currentEntityId,
}) {
  return RenderPayload(
    buildContext: buildContext ?? this.buildContext,
    scopeContext: scopeContext ?? this.scopeContext,
    widgetHierarchy: widgetHierarchy ?? this.widgetHierarchy,
    currentEntityId: currentEntityId ?? this.currentEntityId,
  );
}