create static method

RegExpDataScheme create({
  1. String? special_type,
  2. String? pattern,
  3. bool? is_multi_line,
  4. bool? is_case_sensitive,
  5. bool? is_unicode,
  6. bool? is_dot_all,
})
override

return original data json

Implementation

static RegExpDataScheme create({
  String? special_type,
  String? pattern,
  bool? is_multi_line,
  bool? is_case_sensitive,
  bool? is_unicode,
  bool? is_dot_all,
}) {
  RegExpDataScheme regExpDataScheme = RegExpDataScheme({
    "@type": special_type,
    "pattern": pattern,
    "is_multi_line": is_multi_line,
    "is_case_sensitive": is_case_sensitive,
    "is_unicode": is_unicode,
    "is_dot_all": is_dot_all,
  });

  return regExpDataScheme;
}