PeersFrom.fromJson constructor
PeersFrom.fromJson(
- JsonMap rawData
Implementation
factory PeersFrom.fromJson(JsonMap rawData) {
return PeersFrom(
fromCache: rawData['fromCache'] as num,
fromDht: rawData['fromDht'] as num,
fromIncoming: rawData['fromIncoming'] as num,
fromLpd: rawData['fromLpd'] as num,
fromLtep: rawData['fromLtep'] as num,
fromPex: rawData['fromPex'] as num,
fromTracker: rawData['fromTracker'] as num,
);
}