toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final maximumEventAgeInSeconds = this.maximumEventAgeInSeconds;
  final maximumRetryAttempts = this.maximumRetryAttempts;
  return {
    if (maximumEventAgeInSeconds != null)
      'MaximumEventAgeInSeconds': maximumEventAgeInSeconds,
    if (maximumRetryAttempts != null)
      'MaximumRetryAttempts': maximumRetryAttempts,
  };
}