LeftRightNode constructor

LeftRightNode({
  1. required String? leftDelim,
  2. required String? rightDelim,
  3. required List<EquationRowNode> body,
  4. List<String?> middle = const [],
})

Implementation

LeftRightNode({
  required this.leftDelim,
  required this.rightDelim,
  required this.body,
  this.middle = const [],
})  : assert(body.isNotEmpty),
      assert(middle.length == body.length - 1);