GooglePrivacyDlpV2Value.fromJson constructor

GooglePrivacyDlpV2Value.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2Value.fromJson(core.Map json_)
    : this(
        booleanValue: json_.containsKey('booleanValue')
            ? json_['booleanValue'] as core.bool
            : null,
        dateValue: json_.containsKey('dateValue')
            ? GoogleTypeDate.fromJson(
                json_['dateValue'] as core.Map<core.String, core.dynamic>)
            : null,
        dayOfWeekValue: json_.containsKey('dayOfWeekValue')
            ? json_['dayOfWeekValue'] as core.String
            : null,
        floatValue: json_.containsKey('floatValue')
            ? (json_['floatValue'] as core.num).toDouble()
            : null,
        integerValue: json_.containsKey('integerValue')
            ? json_['integerValue'] as core.String
            : null,
        stringValue: json_.containsKey('stringValue')
            ? json_['stringValue'] as core.String
            : null,
        timeValue: json_.containsKey('timeValue')
            ? GoogleTypeTimeOfDay.fromJson(
                json_['timeValue'] as core.Map<core.String, core.dynamic>)
            : null,
        timestampValue: json_.containsKey('timestampValue')
            ? json_['timestampValue'] as core.String
            : null,
      );