ListLineItemsResponse.fromJson constructor

ListLineItemsResponse.fromJson(
  1. Map json_
)

Implementation

ListLineItemsResponse.fromJson(core.Map json_)
    : this(
        lineItems: json_.containsKey('lineItems')
            ? (json_['lineItems'] as core.List)
                .map((value) => LineItem.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );