LivenessCheck.fromJson constructor

LivenessCheck.fromJson(
  1. Map json_
)

Implementation

LivenessCheck.fromJson(core.Map json_)
    : this(
        checkInterval: json_.containsKey('checkInterval')
            ? json_['checkInterval'] as core.String
            : null,
        failureThreshold: json_.containsKey('failureThreshold')
            ? json_['failureThreshold'] as core.int
            : null,
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        initialDelay: json_.containsKey('initialDelay')
            ? json_['initialDelay'] as core.String
            : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        successThreshold: json_.containsKey('successThreshold')
            ? json_['successThreshold'] as core.int
            : null,
        timeout: json_.containsKey('timeout')
            ? json_['timeout'] as core.String
            : null,
      );