options property

List<Option> options
getter/setter pair

Implementation

List<Option> options = [
  Option<String>(
    kSource,
    './jsons',
    'Specify the json input directory.',
    kSourceAbbr,
  ),
  Option<String>(
    kOutput,
    './lib/models',
    'Specify models output directory.',
    kOutputAbbr,
  ),
  Option<String>(
    kFactoryOutput,
    './test/models',
    'Specify models factory directory.',
    kFactoryOutputAbbr,
  ),
  Option<String>(
    kPackageName,
    '',
    'Specify the package model (default is automatically got from pubspec).',
    kPackageNameAbbr,
  ),
  Option<bool>(
    kCreateFactories,
    false,
    'Enable of disable the factory generation.',
  ),
];