toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dictionary != null) 'dictionary': dictionary!,
      if (excludeByHotword != null) 'excludeByHotword': excludeByHotword!,
      if (excludeInfoTypes != null) 'excludeInfoTypes': excludeInfoTypes!,
      if (matchingType != null) 'matchingType': matchingType!,
      if (regex != null) 'regex': regex!,
    };