RequestedKeyInfo.fromJson constructor

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

Implementation

RequestedKeyInfo.fromJson(Map<String, Object?> json)
    : algorithm = json.tryGet('algorithm', TryGet.required) ?? '',
      roomId = json.tryGet('room_id', TryGet.required) ?? '',
      sessionId = json.tryGet('session_id', TryGet.required) ?? '',
      senderKey = json.tryGet('sender_key', TryGet.required) ?? '';