InvoiceShareOptions.fromJSON constructor

InvoiceShareOptions.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory InvoiceShareOptions.fromJSON(Map<String, dynamic> data) {
	return InvoiceShareOptions(
		requestedPermissions: RequestedPermission.fromJSON(data["requestedPermissions"]),
		shareEncryptionKey: ShareMetadataBehaviour.fromJSON(data["shareEncryptionKey"]),
		sharePatientId: ShareMetadataBehaviour.fromJSON(data["sharePatientId"]),
		shareSecretIds: SecretIdShareOptions.fromJSON(data["shareSecretIds"])
	);
}