NetworkPolicy.fromJson constructor

NetworkPolicy.fromJson(
  1. Map json_
)

Implementation

NetworkPolicy.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        provider: json_.containsKey('provider')
            ? json_['provider'] as core.String
            : null,
      );