GoogleCloudChannelV1DateRange.fromJson constructor

GoogleCloudChannelV1DateRange.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1DateRange.fromJson(core.Map json_)
  : this(
      invoiceEndDate:
          json_.containsKey('invoiceEndDate')
              ? GoogleTypeDate.fromJson(
                json_['invoiceEndDate']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      invoiceStartDate:
          json_.containsKey('invoiceStartDate')
              ? GoogleTypeDate.fromJson(
                json_['invoiceStartDate']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      usageEndDateTime:
          json_.containsKey('usageEndDateTime')
              ? GoogleTypeDateTime.fromJson(
                json_['usageEndDateTime']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      usageStartDateTime:
          json_.containsKey('usageStartDateTime')
              ? GoogleTypeDateTime.fromJson(
                json_['usageStartDateTime']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );