ReadinessCheck.fromJson constructor

ReadinessCheck.fromJson(
  1. Map json_
)

Implementation

ReadinessCheck.fromJson(core.Map json_)
    : this(
        appStartTimeout: json_.containsKey('appStartTimeout')
            ? json_['appStartTimeout'] as core.String
            : null,
        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,
        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,
      );