TestOrderDeliveryDetails.fromJson constructor

TestOrderDeliveryDetails.fromJson(
  1. Map json_
)

Implementation

TestOrderDeliveryDetails.fromJson(core.Map json_)
    : this(
        address: json_.containsKey('address')
            ? TestOrderAddress.fromJson(
                json_['address'] as core.Map<core.String, core.dynamic>)
            : null,
        isScheduledDelivery: json_.containsKey('isScheduledDelivery')
            ? json_['isScheduledDelivery'] as core.bool
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? json_['phoneNumber'] as core.String
            : null,
      );