toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (contains != null) 'contains': contains!,
      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!,
    };