Exfiltration.fromJson constructor

Exfiltration.fromJson(
  1. Map json_
)

Implementation

Exfiltration.fromJson(core.Map json_)
    : this(
        sources: json_.containsKey('sources')
            ? (json_['sources'] as core.List)
                .map((value) => ExfilResource.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        targets: json_.containsKey('targets')
            ? (json_['targets'] as core.List)
                .map((value) => ExfilResource.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        totalExfiltratedBytes: json_.containsKey('totalExfiltratedBytes')
            ? json_['totalExfiltratedBytes'] as core.String
            : null,
      );