QueueDepth.fromJson constructor
Read this payload from a decoded JSON object.
Implementation
factory QueueDepth.fromJson(Map<String, dynamic> json) => QueueDepth(
count: json['count'] as int,
bytes: json['bytes'] as int,
limit: json['limit'] as int?,
saturation: json['saturation'] == null
? null
: (json['saturation'] as num).toDouble(),
oldestAgeSeconds: json['oldestAgeSeconds'] as int?,
deliveredUnacked: json['deliveredUnacked'] as int?,
);