RoomKeyRequestContent.fromJson constructor
Implementation
RoomKeyRequestContent.fromJson(Map<String, Object?> json)
: body = ((Map<String, Object?>? x) => x != null
? RequestedKeyInfo.fromJson(x)
: null)(json.tryGet('body')),
action = json.tryGet('action', TryGet.required) ?? '',
requestingDeviceId =
json.tryGet('requesting_device_id', TryGet.required) ?? '',
requestId = json.tryGet('request_id', TryGet.required) ?? '';