EnvironmentVariableCollection constructor
EnvironmentVariableCollection({
- bool? persistent,
- dynamic description,
- void replace(])?,
- void append(])?,
- void prepend(])?,
- EnvironmentVariableMutator? get()?,
- void forEach(
- dynamic (), [
- dynamic
- void delete()?,
- void clear()?,
Implementation
factory EnvironmentVariableCollection({
_i2.bool? persistent,
_i2.dynamic description,
void Function(
_i2.String,
_i2.String, [
_i3.EnvironmentVariableMutatorOptions?,
])? replace,
void Function(
_i2.String,
_i2.String, [
_i3.EnvironmentVariableMutatorOptions?,
])? append,
void Function(
_i2.String,
_i2.String, [
_i3.EnvironmentVariableMutatorOptions?,
])? prepend,
_i3.EnvironmentVariableMutator? Function(_i2.String)? get,
void Function(
_i2.dynamic Function(
_i2.String,
_i3.EnvironmentVariableMutator,
_i3.EnvironmentVariableCollection,
), [
_i2.dynamic,
])? forEach,
void Function(_i2.String)? delete,
void Function()? clear,
}) =>
EnvironmentVariableCollection._(
persistent: persistent,
description: description,
replace: replace == null ? null : _i5.allowInterop(replace),
append: append == null ? null : _i5.allowInterop(append),
prepend: prepend == null ? null : _i5.allowInterop(prepend),
get: get == null
? null
: _i5.allowInterop((p0) => () => get(p0) ?? _i6.undefined),
forEach: forEach == null ? null : _i5.allowInterop(forEach),
delete: delete == null ? null : _i5.allowInterop(delete),
clear: clear == null ? null : _i5.allowInterop(clear),
);