Exfiltration.fromJson constructor

Exfiltration.fromJson(
  1. Map json_
)

Implementation

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