$MediaRequestInfo.fromJson constructor

$MediaRequestInfo.fromJson(
  1. Map json_
)

Implementation

$MediaRequestInfo.fromJson(core.Map json_)
    : this(
        currentBytes: json_.containsKey('currentBytes')
            ? json_['currentBytes'] as core.String
            : null,
        customData: json_.containsKey('customData')
            ? json_['customData'] as core.String
            : null,
        diffObjectVersion: json_.containsKey('diffObjectVersion')
            ? json_['diffObjectVersion'] as core.String
            : null,
        finalStatus: json_.containsKey('finalStatus')
            ? json_['finalStatus'] as core.int
            : null,
        notificationType: json_.containsKey('notificationType')
            ? json_['notificationType'] as core.String
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
        requestReceivedParamsServingInfo:
            json_.containsKey('requestReceivedParamsServingInfo')
                ? json_['requestReceivedParamsServingInfo'] as core.String
                : null,
        totalBytes: json_.containsKey('totalBytes')
            ? json_['totalBytes'] as core.String
            : null,
        totalBytesIsEstimated: json_.containsKey('totalBytesIsEstimated')
            ? json_['totalBytesIsEstimated'] as core.bool
            : null,
      );