GoogleCloudPolicyanalyzerV1ObservationPeriod.fromJson constructor Null safety

GoogleCloudPolicyanalyzerV1ObservationPeriod.fromJson(
  1. Map _json
)

Implementation

GoogleCloudPolicyanalyzerV1ObservationPeriod.fromJson(core.Map _json)
    : this(
        endTime: _json.containsKey('endTime')
            ? _json['endTime'] as core.String
            : null,
        startTime: _json.containsKey('startTime')
            ? _json['startTime'] as core.String
            : null,
      );