CommandLinePropertySource<T>.named constructor

CommandLinePropertySource<T>.named(
  1. String name,
  2. T source
)

Creates a CommandLinePropertySource with a custom name.

This can be useful if you are managing multiple sources of arguments.

Example:

CommandLinePropertySource.named('myArgs', parser);

Implementation

CommandLinePropertySource.named(super.name, super.source);