toJson method

Object toJson()
override

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

Implementation

toJson() =>
    throw new UnsupportedError("MainMessage.toJson requires a locale");