GenerateDefaultLineItemRequest.fromJson constructor

GenerateDefaultLineItemRequest.fromJson(
  1. Map json_
)

Implementation

GenerateDefaultLineItemRequest.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        insertionOrderId: json_.containsKey('insertionOrderId')
            ? json_['insertionOrderId'] as core.String
            : null,
        lineItemType: json_.containsKey('lineItemType')
            ? json_['lineItemType'] as core.String
            : null,
        mobileApp: json_.containsKey('mobileApp')
            ? MobileApp.fromJson(
                json_['mobileApp'] as core.Map<core.String, core.dynamic>)
            : null,
      );