toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final lastFreshStart = this.lastFreshStart;
  final reputationMetricsEnabled = this.reputationMetricsEnabled;
  return {
    if (lastFreshStart != null)
      'LastFreshStart': unixTimestampToJson(lastFreshStart),
    if (reputationMetricsEnabled != null)
      'ReputationMetricsEnabled': reputationMetricsEnabled,
  };
}