toJSON method

dynamic toJSON()

Implementation

toJSON() {
  return elements.sublist(0);
}