OrdersCreateTestReturnRequest.fromJson constructor

OrdersCreateTestReturnRequest.fromJson(
  1. Map json_
)

Implementation

OrdersCreateTestReturnRequest.fromJson(core.Map json_)
    : this(
        items: json_.containsKey('items')
            ? (json_['items'] as core.List)
                .map((value) =>
                    OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );