LongRunning.fromJson constructor

LongRunning.fromJson(
  1. Map json_
)

Implementation

LongRunning.fromJson(core.Map json_)
    : this(
        initialPollDelay: json_.containsKey('initialPollDelay')
            ? json_['initialPollDelay'] as core.String
            : null,
        maxPollDelay: json_.containsKey('maxPollDelay')
            ? json_['maxPollDelay'] as core.String
            : null,
        pollDelayMultiplier: json_.containsKey('pollDelayMultiplier')
            ? (json_['pollDelayMultiplier'] as core.num).toDouble()
            : null,
        totalPollTimeout: json_.containsKey('totalPollTimeout')
            ? json_['totalPollTimeout'] as core.String
            : null,
      );