RealtimeHelloAckLimits.fromJson constructor

RealtimeHelloAckLimits.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory RealtimeHelloAckLimits.fromJson(Map<String, Object?> json) =>
    RealtimeHelloAckLimits(
      maxSubscriptionsPerConnection:
          (json['maxSubscriptionsPerConnection'] as num).toInt(),
      maxClientFrameBytes: (json['maxClientFrameBytes'] as num).toInt(),
      maxServerFrameBytes: (json['maxServerFrameBytes'] as num).toInt(),
      pingIntervalSeconds: (json['pingIntervalSeconds'] as num).toInt(),
      replayWindowSeconds: (json['replayWindowSeconds'] as num).toInt(),
      replayWindowEvents: (json['replayWindowEvents'] as num).toInt(),
    );