Optional.staticVal constructor
Optional.staticVal({
- String? strVal,
- Map<
String, Object> ? mapVal, - ApplyMethod? apply,
- String? regex,
- int? regexGroup,
- String? regexReplace,
- String? regexReplaceWith,
- Map<
String, String> ? replaceFirst, - Map<
String, String> ? replaceAll, - int? cropStart,
- int? cropEnd,
- String? prepend,
- String? append,
- List<
Object> ? match, - int? nth,
- String? splitBy,
- List<
TransformationType> ? transformationOrder,
Named constructor for StaticVal-specific optional parameters
Implementation
factory Optional.staticVal({
String? strVal,
Map<String, Object>? mapVal,
// Optional common fields
ApplyMethod? apply,
String? regex,
int? regexGroup,
String? regexReplace,
String? regexReplaceWith,
Map<String, String>? replaceFirst,
Map<String, String>? replaceAll,
int? cropStart,
int? cropEnd,
String? prepend,
String? append,
List<Object>? match,
int? nth,
String? splitBy,
List<TransformationType>? transformationOrder,
}) {
return Optional._(
strVal: strVal,
mapVal: mapVal,
apply: apply,
regex: regex,
regexGroup: regexGroup,
regexReplace: regexReplace,
regexReplaceWith: regexReplaceWith,
replaceFirst: replaceFirst,
replaceAll: replaceAll,
cropStart: cropStart,
cropEnd: cropEnd,
prepend: prepend,
append: append,
match: match,
nth: nth,
splitBy: splitBy,
transformationOrder: transformationOrder,
);
}