factory X3DHKey.fromJson(Map<String, dynamic> json) => X3DHKey( hexStr: json['hexStr'], bytes: json['bytes'], );