convertToCamelCase property

bool convertToCamelCase
final

If set to true then any key case will be converted to camel case in generated source. For example json key:

{
 "test_message": "This is a test message in English"
}

will be generated to source:

static const testMessage = LocalizedString(
   key: 'test_message',
   values: {
    'en_US': '''This is a test message in English''',
    'pl': '''To jest testowa wiadomość w języku Polskim''',
   },
 );

If set to false the original key will be used.

Implementation

final bool convertToCamelCase;