GooglePrivacyDlpV2Location.fromJson constructor

GooglePrivacyDlpV2Location.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2Location.fromJson(core.Map json_)
    : this(
        byteRange: json_.containsKey('byteRange')
            ? GooglePrivacyDlpV2Range.fromJson(
                json_['byteRange'] as core.Map<core.String, core.dynamic>)
            : null,
        codepointRange: json_.containsKey('codepointRange')
            ? GooglePrivacyDlpV2Range.fromJson(json_['codepointRange']
                as core.Map<core.String, core.dynamic>)
            : null,
        container: json_.containsKey('container')
            ? GooglePrivacyDlpV2Container.fromJson(
                json_['container'] as core.Map<core.String, core.dynamic>)
            : null,
        contentLocations: json_.containsKey('contentLocations')
            ? (json_['contentLocations'] as core.List)
                .map((value) => GooglePrivacyDlpV2ContentLocation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );