OlmPlaintextPayload.fromJson constructor
Implementation
factory OlmPlaintextPayload.fromJson(Map<String, Object?> json) =>
OlmPlaintextPayload(
sender: json.tryGet('sender', TryGet.required),
type: json.tryGet('type', TryGet.required),
content: json.tryGetMap('content', TryGet.required),
recipient: json.tryGet('recipient', TryGet.required),
recipientKeys: json.tryGetMap('recipient_keys', TryGet.required),
keys: json.tryGetMap('keys', TryGet.required),
);