message property

String get message

The message to localize. If {@link options.args args} is an array, this message supports index templating where strings like {0} and {1} are replaced by the item at that index in the {@link options.args args} array. If args is a Record<string, any>, this supports named templating where strings like {foo} and {bar} are replaced by the value in the Record for that key (foo, bar, etc).

Implementation

_i2.String get message => _i3.getProperty(
      this,
      'message',
    );
set message (String value)

Implementation

set message(_i2.String value) {
  _i3.setProperty(
    this,
    'message',
    value,
  );
}