Attempt.fromJson constructor

Attempt.fromJson(
  1. Map json_
)

Implementation

Attempt.fromJson(core.Map json_)
    : this(
        dispatchTime: json_.containsKey('dispatchTime')
            ? json_['dispatchTime'] as core.String
            : null,
        responseStatus: json_.containsKey('responseStatus')
            ? Status.fromJson(json_['responseStatus']
                as core.Map<core.String, core.dynamic>)
            : null,
        responseTime: json_.containsKey('responseTime')
            ? json_['responseTime'] as core.String
            : null,
        scheduleTime: json_.containsKey('scheduleTime')
            ? json_['scheduleTime'] as core.String
            : null,
      );