OrdersCreateTestOrderRequest.fromJson constructor

OrdersCreateTestOrderRequest.fromJson(
  1. Map json_
)

Implementation

OrdersCreateTestOrderRequest.fromJson(core.Map json_)
    : this(
        country: json_.containsKey('country')
            ? json_['country'] as core.String
            : null,
        templateName: json_.containsKey('templateName')
            ? json_['templateName'] as core.String
            : null,
        testOrder: json_.containsKey('testOrder')
            ? TestOrder.fromJson(
                json_['testOrder'] as core.Map<core.String, core.dynamic>)
            : null,
      );