Availability.fromJson constructor

Availability.fromJson(
  1. Map json_
)

Implementation

Availability.fromJson(core.Map json_)
    : this(
        advertiserId: json_.containsKey('advertiserId')
            ? json_['advertiserId'] as core.String
            : null,
        agencyId: json_.containsKey('agencyId')
            ? json_['agencyId'] as core.String
            : null,
        availabilityTimestamp: json_.containsKey('availabilityTimestamp')
            ? json_['availabilityTimestamp'] as core.String
            : null,
        customerId: json_.containsKey('customerId')
            ? json_['customerId'] as core.String
            : null,
        segmentationId: json_.containsKey('segmentationId')
            ? json_['segmentationId'] as core.String
            : null,
        segmentationName: json_.containsKey('segmentationName')
            ? json_['segmentationName'] as core.String
            : null,
        segmentationType: json_.containsKey('segmentationType')
            ? json_['segmentationType'] as core.String
            : null,
      );