Optional constructor

Optional({
  1. ApplyMethod? apply,
  2. String? regex,
  3. int? regexGroup,
  4. String? regexReplace,
  5. String? regexReplaceWith,
  6. Map<String, String>? replace,
  7. int? cropStart,
  8. int? cropEnd,
  9. String? prepend,
  10. String? append,
  11. List? match,
  12. int? nth,
})

Implementation

Optional({
  ApplyMethod? apply,
  String? regex,
  int? regexGroup,
  String? regexReplace,
  String? regexReplaceWith,
  Map<String, String>? replace,
  int? cropStart,
  int? cropEnd,
  String? prepend,
  String? append,
  List<dynamic>? match,
  int? nth,
}) : super(
        apply: apply,
        regex: regex,
        regexGroup: regexGroup,
        regexReplace: regexReplace,
        regexReplaceWith: regexReplaceWith,
        replace: replace,
        cropStart: cropStart,
        cropEnd: cropEnd,
        prepend: prepend,
        append: append,
        match: match,
        nth: nth,
      );