toJson method

List toJson()

Encodes the Mapping mappings as a json map.

Implementation

List toJson() => _mappings.values.map((v) => v.toJson()).toList();