toJson method

Map<String, dynamic> toJson()

Implementation

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