DropInfo.fromJson constructor

DropInfo.fromJson(
  1. Map json_
)

Implementation

DropInfo.fromJson(core.Map json_)
    : this(
        cause:
            json_.containsKey('cause') ? json_['cause'] as core.String : null,
        destinationIp: json_.containsKey('destinationIp')
            ? json_['destinationIp'] as core.String
            : null,
        region: json_.containsKey('region')
            ? json_['region'] as core.String
            : null,
        resourceUri: json_.containsKey('resourceUri')
            ? json_['resourceUri'] as core.String
            : null,
        sourceIp: json_.containsKey('sourceIp')
            ? json_['sourceIp'] as core.String
            : null,
      );