copyWith method

MetaTag copyWith({
  1. String? name,
  2. String? content,
  3. List<MetaTagAttribute>? attrs,
})

Implementation

MetaTag copyWith({
  String? name,
  String? content,
  List<MetaTagAttribute>? attrs,
}) {
  return MetaTag(
    name: name ?? this.name,
    content: content ?? this.content,
    attrs: attrs ?? this.attrs,
  );
}