MediaResponseInfo.fromJson constructor

MediaResponseInfo.fromJson(
  1. Map json_
)

Implementation

MediaResponseInfo.fromJson(core.Map json_)
    : this(
        customData: json_.containsKey('customData')
            ? json_['customData'] as core.String
            : null,
        dataStorageTransform: json_.containsKey('dataStorageTransform')
            ? json_['dataStorageTransform'] as core.String
            : null,
        dynamicDropTarget: json_.containsKey('dynamicDropTarget')
            ? json_['dynamicDropTarget'] as core.String
            : null,
        dynamicDropzone: json_.containsKey('dynamicDropzone')
            ? json_['dynamicDropzone'] as core.String
            : null,
        requestClass: json_.containsKey('requestClass')
            ? json_['requestClass'] as core.String
            : null,
        scottyAgentUserId: json_.containsKey('scottyAgentUserId')
            ? json_['scottyAgentUserId'] as core.String
            : null,
        scottyCustomerLog: json_.containsKey('scottyCustomerLog')
            ? json_['scottyCustomerLog'] as core.String
            : null,
        trafficClassField: json_.containsKey('trafficClassField')
            ? json_['trafficClassField'] as core.String
            : null,
        verifyHashFromHeader: json_.containsKey('verifyHashFromHeader')
            ? json_['verifyHashFromHeader'] as core.bool
            : null,
      );