toJson method

Object toJson()
override

Return a JSON-storable representation of this message which can be interpolated at runtime.

Implementation

toJson() => pieces.map((each) => each.toJson()).toList();