toCode method

String toCode()
override

Return a string representation of this message for use in generated Dart code.

Implementation

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