NetworkUsageSample.fromJson constructor

NetworkUsageSample.fromJson(
  1. Map json_
)

Implementation

NetworkUsageSample.fromJson(core.Map json_)
    : this(
        averageEgressBps: json_.containsKey('averageEgressBps')
            ? (json_['averageEgressBps'] as core.num).toDouble()
            : null,
        averageIngressBps: json_.containsKey('averageIngressBps')
            ? (json_['averageIngressBps'] as core.num).toDouble()
            : null,
      );