toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cacheDuration = this.cacheDuration;
  final platformType = this.platformType;
  final threat = this.threat;
  final threatEntryMetadata = this.threatEntryMetadata;
  final threatEntryType = this.threatEntryType;
  final threatType = this.threatType;
  return {
    'cacheDuration': ?cacheDuration,
    'platformType': ?platformType,
    'threat': ?threat,
    'threatEntryMetadata': ?threatEntryMetadata,
    'threatEntryType': ?threatEntryType,
    'threatType': ?threatType,
  };
}