toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (condition != null) 'condition': condition!,
      if (intervalTime != null) 'intervalTime': intervalTime!,
      if (maxRetries != null) 'maxRetries': maxRetries!,
      if (retryStrategy != null) 'retryStrategy': retryStrategy!,
    };