GoogleCloudPaymentsResellerSubscriptionV1Duration.fromJson constructor Null safety

GoogleCloudPaymentsResellerSubscriptionV1Duration.fromJson(
  1. Map _json
)

Implementation

GoogleCloudPaymentsResellerSubscriptionV1Duration.fromJson(core.Map _json)
    : this(
        count: _json.containsKey('count') ? _json['count'] as core.int : null,
        unit: _json.containsKey('unit') ? _json['unit'] as core.String : null,
      );