List toJson()

JSON representation is an immutable list representation of the PeerList object.

Source

List toJson() => toList(growable: false);