copyWith method

StyleNode copyWith({
  1. List<GreenNode>? children,
  2. OptionsDiff? optionsDiff,
})

Implementation

StyleNode copyWith({
  List<GreenNode>? children,
  OptionsDiff? optionsDiff,
}) =>
    StyleNode(
      children: children ?? this.children,
      optionsDiff: optionsDiff ?? this.optionsDiff,
    );