GoogleCloudChannelV1CommitmentSettings.fromJson constructor

GoogleCloudChannelV1CommitmentSettings.fromJson(
  1. Map json_
)

Implementation

GoogleCloudChannelV1CommitmentSettings.fromJson(core.Map json_)
    : this(
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        renewalSettings: json_.containsKey('renewalSettings')
            ? GoogleCloudChannelV1RenewalSettings.fromJson(
                json_['renewalSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );