factory Regex.fromJson(Map<String, dynamic> json) { return Regex( regexString: json['RegexString'] as String?, ); }