length property

  1. @override
int get length
override

Length of this node in characters.

Implementation

@override
int get length {
  if (_value is String) {
    return (_value as String).length;
  }
  // return 1 for embedded object
  return 1;
}