copyWith method

  1. @override
AgentSuggestionsSpec copyWith({
  1. StyleSpec<WrapBoxSpec>? container,
})
inherited

Creates a copy of this spec with the given fields replaced by the non-null parameter values.

Implementation

@override
AgentSuggestionsSpec copyWith({StyleSpec<WrapBoxSpec>? container}) {
  return AgentSuggestionsSpec(container: container ?? this.container);
}