NetworkConfiguration.fromJson constructor

NetworkConfiguration.fromJson(
  1. Map json_
)

Implementation

NetworkConfiguration.fromJson(core.Map json_)
    : this(
        downRule: json_.containsKey('downRule')
            ? TrafficRule.fromJson(
                json_['downRule'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_['id'] as core.String?,
        upRule: json_.containsKey('upRule')
            ? TrafficRule.fromJson(
                json_['upRule'] as core.Map<core.String, core.dynamic>)
            : null,
      );