Attack.fromJson constructor

Attack.fromJson(
  1. Map json_
)

Implementation

Attack.fromJson(core.Map json_)
    : this(
        classification: json_.containsKey('classification')
            ? json_['classification'] as core.String
            : null,
        volumeBps: json_.containsKey('volumeBps')
            ? json_['volumeBps'] as core.int
            : null,
        volumePps: json_.containsKey('volumePps')
            ? json_['volumePps'] as core.int
            : null,
      );