QueueLimits.fromJson constructor

QueueLimits.fromJson(
  1. Map<String, dynamic> json
)

Read this payload from a decoded JSON object.

Implementation

factory QueueLimits.fromJson(Map<String, dynamic> json) => QueueLimits(
      sendQueueLimit: json['sendQueueLimit'] as int?,
      receiveQueueLimit: json['receiveQueueLimit'] as int?,
    );