messages property

Map<String, MainMessage> messages

Implementation

Map<String, MainMessage> get messages {
  return {
    'simpleMessage': IcuMainMessage('Simple Message', 'simpleMessage'),
    'messageWithMetadata':
        IcuMainMessage('Message With Metadata', 'messageWithMetadata')
          ..description = 'This is a description',
    'pluralExample': IcuMainMessage(
        '{howMany,plural, =0{No items}=1{One item}many{A lot of items}other{{howMany} items}}',
        'pluralExample'),
    'messageWithVariable':
        IcuMainMessage('Share {variable}', 'messageWithVariable'),
  };
}