ReceiptShareOptions.fromJSON constructor

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

Implementation

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