RetryAttempt.fromJson constructor

RetryAttempt.fromJson(
  1. Map json_
)

Implementation

RetryAttempt.fromJson(core.Map json_)
    : this(
        attempt: json_.containsKey('attempt')
            ? json_['attempt'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        stateDesc: json_.containsKey('stateDesc')
            ? json_['stateDesc'] as core.String
            : null,
        wait: json_.containsKey('wait') ? json_['wait'] as core.String : null,
      );