Billing.fromJson constructor

Billing.fromJson(
  1. Map json_
)

Implementation

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