ListNetworkUsageResponse.fromJson constructor

ListNetworkUsageResponse.fromJson(
  1. Map json_
)

Implementation

ListNetworkUsageResponse.fromJson(core.Map json_)
    : this(
        networks: json_.containsKey('networks')
            ? (json_['networks'] as core.List)
                .map((value) => NetworkUsage.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );