toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (contains != null) 'contains': contains!,
if (custom != null) 'custom': custom!,
if (exact != null) 'exact': exact!,
if (ignoreCase != null) 'ignoreCase': ignoreCase!,
if (prefix != null) 'prefix': prefix!,
if (safeRegex != null) 'safeRegex': safeRegex!,
if (suffix != null) 'suffix': suffix!,
};