toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final exec = this.exec;
  final failureThreshold = this.failureThreshold;
  final grpc = this.grpc;
  final httpGet = this.httpGet;
  final initialDelaySeconds = this.initialDelaySeconds;
  final periodSeconds = this.periodSeconds;
  final successThreshold = this.successThreshold;
  final tcpSocket = this.tcpSocket;
  final timeoutSeconds = this.timeoutSeconds;
  return {
    'exec': ?exec,
    'failureThreshold': ?failureThreshold,
    'grpc': ?grpc,
    'httpGet': ?httpGet,
    'initialDelaySeconds': ?initialDelaySeconds,
    'periodSeconds': ?periodSeconds,
    'successThreshold': ?successThreshold,
    'tcpSocket': ?tcpSocket,
    'timeoutSeconds': ?timeoutSeconds,
  };
}