toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cacheDuration = this.cacheDuration;
  final threats = this.threats;
  return {'cacheDuration': ?cacheDuration, 'threats': ?threats};
}