GooglePrivacyDlpV2DateTime.fromJson constructor

GooglePrivacyDlpV2DateTime.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2DateTime.fromJson(core.Map json_)
    : this(
        date: json_.containsKey('date')
            ? GoogleTypeDate.fromJson(
                json_['date'] as core.Map<core.String, core.dynamic>)
            : null,
        dayOfWeek: json_.containsKey('dayOfWeek')
            ? json_['dayOfWeek'] as core.String
            : null,
        time: json_.containsKey('time')
            ? GoogleTypeTimeOfDay.fromJson(
                json_['time'] as core.Map<core.String, core.dynamic>)
            : null,
        timeZone: json_.containsKey('timeZone')
            ? GooglePrivacyDlpV2TimeZone.fromJson(
                json_['timeZone'] as core.Map<core.String, core.dynamic>)
            : null,
      );