copyWith method

SvgWrapper copyWith({
  1. String? name,
  2. String? content,
})

Implementation

SvgWrapper copyWith({
  String? name,
  String? content,
}) {
  return SvgWrapper(
    name: name ?? this.name,
    content: content ?? this.content,
  );
}