getOptionFlavor method
Gets the flavor option value.
Returns the selected application flavor.
Example:
final flavor = argResults.getOptionFlavor(defaultTo: 'development');
Implementation
String getOptionFlavor({required String defaultTo}) =>
this?['flavor'] ?? defaultTo;