copyWith method

  1. @override
InlineCodeNode copyWith({
  1. String? code,
})
override

Creates a copy of this node

Implementation

@override
InlineCodeNode copyWith({String? code}) {
  return InlineCodeNode(code ?? this.code);
}